Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: on Mon 26/05/2003 11:10:10

Title: Health Percentage
Post by: on Mon 26/05/2003 11:10:10
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)
Title: Re:Health Percentage
Post by: Ishmael on Mon 26/05/2003 13:04:00
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.
Title: Re:Health Percentage
Post by: Erica McLane on Mon 26/05/2003 13:32:26
SetLabelText should be put in repeatedly_execute. Put there also your script for removing the GUI during cutscenes.
Title: Re:Health Percentage
Post by: on Mon 26/05/2003 23:39:22
 :-\ Yeah, but I want the variable to continue updating......
Title: Re:Health Percentage
Post by: Gilbert on Tue 27/05/2003 04:09:18
Update it in repeatedly_execute then.