GetPlayerLivesLeft

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.

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.

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

This article is issued from Zdoom. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.