From Zandronum Wiki
Jump to navigation Jump to search
Zandronum SkulltagOverlay.png Warning: This feature is Zandronum specific and may not supported by ZDoom and its other child ports!
Documentation may not be accurate, see ACS Functions.

This page is a stub: it needs more content.

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.