|
Hi I have this script that I have from another question that I asked and was wondering how to make the health bar smaller when I get hit by tagged bullets
(comments are locked)
|
|
What do you mean by smaller? Do you mean that the GUI should be smaller? Try editing the last two parameters in the Rect's. If you mean that when I get hit, I receive 10% of my life, so show only 90%. Then you just need to subtract currentHealth with the amount you lost. Yeah that is what I mean but I forgot o put that I have a script but It won't work but I can't post it because I'm on my iPod. So yeah I know what you mean but when I tried it, it didn't work.(i didn't have any GUI on it though)
Jan 01 '11 at 06:36 AM
Phil 9
You need to have two textures for it to work. I know it, because that script looks a lot like one I provided a few days ago :)
Jan 01 '11 at 11:32 AM
Ejlersen
(comments are locked)
|
