GetPlayerLivesLeft: Difference between revisions
DrinkyBird (talk | contribs) (Created page with "{{Stub}} int '''GetPlayerLivesLeft''' (int ''player'') *''player'': player to query lives left of. Returns the amount the player has left. Lives are only reduced on respawn...") |
DrinkyBird (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
{{Stub}} | {{ACSWarning}}{{Stub}} | ||
int '''GetPlayerLivesLeft''' (int ''player'') | int '''GetPlayerLivesLeft''' (int ''player'') |
Revision as of 15:34, 21 August 2016
This article documents a Zandronum-specific ACS feature which may not be supported by ZDoom and its other child ports. |
- This article or section is a stub. You can help the Zandronum wiki by adding to it.
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.