Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Script Help Shows how much health you have.
Adny Offline
Posting Freak

Posts: 1,766
Threads: 6
Joined: Mar 2012
Reputation: 173
#3
RE: Shows how much health you have.

You could use set message and get player health with an if statement. something like:

void CheckHealth(string &in asTimer)
{

AddTimer("", 0.2f, "CheckHealth")

if (GetPlayerHealth == 100)
{
SetMessage("Health", "100", 0);
}
}

Repeating the script 100 times (for 0-100).

I rate it 3 memes.
08-22-2012, 11:05 PM
Find


Messages In This Thread
Shows how much health you have. - by onv - 08-22-2012, 10:12 PM
RE: Shows how much health you have. - by Melvin - 08-22-2012, 10:51 PM
RE: Shows how much health you have. - by Adny - 08-22-2012, 11:05 PM
RE: Shows how much health you have. - by Robby - 08-23-2012, 09:37 AM
RE: Shows how much health you have. - by Damascus - 08-23-2012, 09:51 AM



Users browsing this thread: 1 Guest(s)