shadowZgamerZ
Junior Member
Posts: 18
Threads: 3
Joined: Jul 2012
Reputation:
1
|
RE: Some complicated stuff!
Then I should do something like this in my .hps:
void healthtimer(string &in asTime)
AddTimer("healthtimer", 5.0f, "healthtimer")
if (GetPlayerHealth() = 20)
{
SetPlayerHealth(20.0f);
}
if (GetPlayerHealth() = 30)
{
SetPlayerHealth(30.0f)
}
an so on... For it to be when player has 20 health to stay on 20 health and when player has 30 heslth to stay at 30 health...
}
Project: Another Penumbra Story - Chapter 1 - Deep Underground
Level Editor: 18%, Scripting: 8%, Gameplay: 3 hours or more!
|
|
07-29-2012, 10:49 PM |
|