Difference between revisions of "TNewPlayer"

From Soldat Community Wiki
Jump to: navigation, search
(Inheritance)
Line 5: Line 5:
  
 
==Description==
 
==Description==
Represents a new player (bot). To effectively create one, you can use [[TPlayers.Add]].
+
Represents a new player (bot). To effectively create one, you can use [[TPlayers.Add|Players.Add]].
  
 
user constructable: '''YES'''<br>
 
user constructable: '''YES'''<br>
user destructable: '''NO'''
+
user destructable: '''YES'''
  
 
==Members==
 
==Members==
Line 21: Line 21:
 
   <tr><td>property [[TNewPlayer.Alive|Alive]]: Boolean</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]]: TScriptWeapon</td><td>RW</td></tr>
+
   <tr><td>property [[TNewPlayer.Primary|Primary]]: [[TWeapon]]</td><td>RW</td></tr>
   <tr><td>property [[TNewPlayer.Secondary|Secondary]]: TScriptWeapon</td><td>RW</td></tr>
+
   <tr><td>property [[TNewPlayer.Secondary|Secondary]]: [[TWeapon]]</td><td>RW</td></tr>
 
   <tr><td>property [[TNewPlayer.ShirtColor|ShirtColor]]: Longword</td><td>RW</td></tr>
 
   <tr><td>property [[TNewPlayer.ShirtColor|ShirtColor]]: Longword</td><td>RW</td></tr>
 
   <tr><td>property [[TNewPlayer.PantsColor|PantsColor]]: Longword</td><td>RW</td></tr>
 
   <tr><td>property [[TNewPlayer.PantsColor|PantsColor]]: Longword</td><td>RW</td></tr>

Revision as of 15:20, 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 Alive: BooleanRW
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