Hi there, i have a question.
Somewhere on the forum i saw an code and instructions about how to create a simple health/life meter.
It worked but somehow i deleted the script during my project..
I saw the following but that looks like it but aint it..
http://game-editor.com/forum/viewtopic. ... light=life
And it seemed to look like the following:
Adding an Actor variable called "life"
and adding a code like the following:
life--;
if(life <= 0)
{
//Game Over
}
Now i cannot get it to work, does anybody know where i can find the script back on the forum?
What i wanted to do is make it possible for the player to be hit 5 times by an enemy before he dies..
The code/tutorial/help topic on this forum was very clear and worked instantly.
It would really help me a lot!