PlayerHealth
		
		
		
		
		
		Jump to navigation
		Jump to search
		
		
	
|   | Warning: This feature is Skulltag specific, and is not compatible with ZDoom! To see all of Skulltag's specific features, see Skulltag features. | 
int PlayerHealth (void)
Usage
Returns the current health value of the player who activated the script. An alternative method would be to use GetActorProperty.
Example
Script 1 (void)
{
    if (PlayerHealth() > 75)
    {
        Print(s: "You have a lot of health!");
    }
    else
    {
        Print(s: "You might want to find a medkit!");
    }
}