05-08-2012, 01:20 AM
05-08-2012, 01:21 AM
Nah, check out the post below. Smart guy
Below is my old post
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);
}
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);
}
05-08-2012, 01:21 AM
http://wiki.frictionalgames.com/hpl2/amn...ons#player
At:
Modifies/returns the sanity of the player.
void SetPlayerSanity(float afSanity);
void AddPlayerSanity(float afSanity);
float GetPlayerSanity();
Modifies/returns the health of the player.
void SetPlayerHealth(float afHealth);
void AddPlayerHealth(float afHealth);
float GetPlayerHealth();
At:
Modifies/returns the sanity of the player.
void SetPlayerSanity(float afSanity);
void AddPlayerSanity(float afSanity);
float GetPlayerSanity();
Modifies/returns the health of the player.
void SetPlayerHealth(float afHealth);
void AddPlayerHealth(float afHealth);
float GetPlayerHealth();
05-08-2012, 01:24 AM
Be sure to study the entire article that Statyk linked to, too.
05-08-2012, 01:30 AM
Thanks all, I am really rusty at all of this so i appreciate all the help!