Page 1 of 1

1-5 damage

PostPosted: Tue May 01, 2012 12:35 pm
by BogdansB
hey,

I want to make a text on the screen, which shows you how much damage oyu make. in fight you make 1-5 damage. when you grow a level your damage state grows for about 15 percent. so next level it will be 1,15 - 15,75 damage.
how can i make the text show your damage?

Re: 1-5 damage

PostPosted: Tue May 01, 2012 2:00 pm
by skydereign
I don't think you numbers make sense. But, I recommend using a variable to hold how much damage you are going to deal (or a function to determine it based off of level). That way you can just set the text actor's textNumber equal to the variable/function call.