get_player_damage

Returns the amount of damage the specified player has.

ArgumentTypeDescription
player:realID of the player to get the damage of

Example, called from update.gml:

// this character has higher gravity when over 100%:
if (get_player_damage( player ) >= 100) {
gravity_speed = 1.0;
} else {
gravity_speed = 0.5;
}