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
Changing health and sanity at start?
Xanthos Offline
Senior Member

Posts: 318
Threads: 9
Joined: Mar 2012
Reputation: 8
#2
RE: Changing health and sanity at start?

Nah, check out the post below. Smart guy

Below is my old post
Spoiler below!

The first map put this at the OnStart

SetPlayerSanity(float afSanity);
SetPlayerHealth(float afHealth);

The max is 100.


EXAMPLE
void OnStart
{
SetPlayerSanity(35);
SetPlayerHealth(50);
}


(This post was last modified: 05-08-2012, 01:25 AM by Xanthos.)
05-08-2012, 01:21 AM
Find


Messages In This Thread
RE: Changing health and sanity at start? - by Xanthos - 05-08-2012, 01:21 AM



Users browsing this thread: 1 Guest(s)