TActivePlayer.Alive

From Soldat Community Wiki
Revision as of 14:54, 29 July 2013 by Menturi (talk | contribs) (Example: Capitalized `Btye` for consistency. Condensed code making it easier to understand)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
property TActivePlayer.Alive: Boolean
 Access mode: RW

Description

If a player is alive or not.

Example

 var i: Byte;
 begin
  for i := 1 to 32 do
    Players[i].Alive := not Players[i].Alive; // causes player to die if alive, and respawn if dead
 end;