SetPlayerLivesLeft
Returns 1 for success, 0 for failure (e.g. if the player does not exist). amount is the amount of lives the player has left after he dies. Lives are only reduced on respawning; to give a player 3 lives, an amount of 2 should be used. 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 SetPlayerLivesLeft (int player, int amount)
- player: the player to set the lives for. Setting player to PlayerNumber() will refer to the activator of the script.
- amount: amount of lives left to set.
This article is issued from Zdoom. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.