GetPlayerLivesLeft

From ZDoom Wiki
Jump to: navigation, search
SkulltagIcon.png Warning: This feature is Skulltag specific, and is not compatible with ZDoom!
To see all of Skulltag's specific features, see Skulltag features.


int GetPlayerLivesLeft (int player)

  • player: player to query lives left of.

Returns the amount the player has left. Lives are only reduced on respawning, an amount of 2 here indicates the player has 3 lives. An amount of 0 indicates last life.

To check whether a player is dead or not, PlayerIsSpectator should be used.