Health Percentage

Started by , Mon 26/05/2003 11:10:10

Previous topic - Next topic

MunkeyBoy

I'm thinking of making a game, and want a certain variable (health percentage, or something) to be displayed on the screen permanently when in game time, not in cutscenes.

Help please.  I want this to be in a GUI.....

8)

Ishmael

Create a GUI, make it allways on. Turn it off in cutscenes. In the GUI put a label, where you update the healt amout with SetLabelText.
I used to make games but then I took an IRC in the knee.

<Calin> Ishmael looks awesome all the time
\( Ö)/ ¬(Ö ) | Ja minähän en keskellä kirkasta päivää lähden minnekään juoksentelemaan ilman housuja.

Erica McLane

SetLabelText should be put in repeatedly_execute. Put there also your script for removing the GUI during cutscenes.

MunkeyBoy

 :-\ Yeah, but I want the variable to continue updating......

Gilbert

Update it in repeatedly_execute then.

SMF spam blocked by CleanTalk