Page 1 of 1

Making a HP wit the text actor

PostPosted: Tue Aug 10, 2010 4:54 pm
by Setokyo
Hi i was wondering how to make HP wit the text actor
Can you show wit code
thank you

Re: Making a HP wit the text actor

PostPosted: Tue Aug 10, 2010 5:01 pm
by Game A Gogo
This is everywhere on the forum, please, please use the search, and don't search once, try with a couple of keywords, I know the search never seems to place what you want.

Re: Making a HP wit the text actor

PostPosted: Tue Aug 10, 2010 5:09 pm
by Setokyo
UM ok thanks........... :arrow:

Re: Making a HP wit the text actor

PostPosted: Tue Aug 10, 2010 5:16 pm
by Game A Gogo
Perhaps not as over the forum as I though, sorry, but I found this that should help you
viewtopic.php?f=2&t=4482&p=27522&hilit=HP+text+actor+Text+Health

Re: Making a HP wit the text actor

PostPosted: Tue Aug 10, 2010 5:21 pm
by Setokyo
Game A Gogo wrote:Perhaps not as over the forum as I though, sorry, but I found this that should help you
LOL :twisted:

anyway thanks :mrgreen:

Re: Making a HP wit the text actor

PostPosted: Tue Aug 10, 2010 5:25 pm
by playahjmoney
If you couldn't find it... I do health numbers by

Make the actor HealthNumber(or whatever)

Change that actor to the text "0"

Then in the HealthNumber's Draw Actor, put:
Code: Select all
sprintf(text, "%d",health);


Make sure you create the variable "health"

Re: Making a HP wit the text actor

PostPosted: Tue Aug 10, 2010 5:27 pm
by playahjmoney
Aghhhhh. Too late!!!

Re: Making a HP wit the text actor

PostPosted: Tue Aug 10, 2010 5:32 pm
by Setokyo
playahjmoney wrote:Aghhhhh. Too late!!!

loooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooool :twisted: 8)