This article documents a Zandronum-specific ACS feature which may not be supported by ZDoom and its other child ports.

bool SetPlayerLivesLeft (int player, int amount)

Usage

Parameters

  • player: the player to set the lives for.
  • amount: the amount of lives the player has left after they die. 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.

Return value

Returns true for success, false for failure (e.g. if the player does not exist).

Examples

This article lists no examples, please add one.

See also