Difference between revisions of "TNewPlayer"

From Soldat Community Wiki
Jump to: navigation, search
(Members)
(Members)
Line 19: Line 19:
 
   <tr><td>property [[TNewPlayer.Name|Name]]: string</td><td>RW</td></tr>
 
   <tr><td>property [[TNewPlayer.Name|Name]]: string</td><td>RW</td></tr>
 
   <tr><td>property [[TNewPlayer.Team|Team]]: Byte</td><td>RW</td></tr>
 
   <tr><td>property [[TNewPlayer.Team|Team]]: Byte</td><td>RW</td></tr>
  <tr><td>property [[TNewPlayer.Alive|Alive]]: Boolean</td><td>RW</td></tr>
 
 
   <tr><td>property [[TNewPlayer.Health|Health]]: Integer</td><td>RW</td></tr>
 
   <tr><td>property [[TNewPlayer.Health|Health]]: Integer</td><td>RW</td></tr>
 
   <tr><td>property [[TNewPlayer.Primary|Primary]]: [[TWeapon]]</td><td>RW</td></tr>
 
   <tr><td>property [[TNewPlayer.Primary|Primary]]: [[TWeapon]]</td><td>RW</td></tr>

Revision as of 17:54, 26 June 2013

Inheritance

Description

Represents a new player (bot). To effectively create one, you can use Players.Add.

user constructable: YES
user destructable: YES

Members

Member declarationAcess mode
constructor Create
procedure Free

property Name: stringRW
property Team: ByteRW
property Health: IntegerRW
property Primary: TWeaponRW
property Secondary: TWeaponRW
property ShirtColor: LongwordRW
property PantsColor: LongwordRW
property SkinColor: LongwordRW
property HairColor: LongwordRW
property HairStyle: ByteRW
property Headgear: ByteRW
property Chain: ByteRW
property Dummy: BooleanRW