TActivePlayer.Alive

From Soldat Community Wiki
Revision as of 23:23, 30 June 2013 by Squiddy (talk | contribs) (Description)
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 begin
    if Players[i].Alive then
      Players[i].Alive := False // causes player to die
    else
      Players[i].Alive := True; // causes player to respawn
   end;
 end;