Difference between revisions of "TNewPlayer"

From Soldat Community Wiki
Jump to: navigation, search
(Created page with "==Inheritance== *TObject *TPlayer **TActivePlayer **TNewPlayer ==Description== Creates a new player (bot). user constructable: '''YES'''<br> user destructabl...")
 
(Members)
Line 12: Line 12:
  
 
==Members==
 
==Members==
 +
<code>
 +
  <table>
 +
  <tr><th>Member declaration</th><th>Acess mode</th></tr>
 +
  <tr><td>constructor [[TNewPlayer.Create|Create]]</td></tr>
 +
  <tr><td>procedure [[TNewPlayer.Free|Free]]</td></tr>
 +
  <tr><td><br /></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.Alive|Alive]]: Boolean</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.Secondary|Secondary]]: TScriptWeapon</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.SkinColor|SkinColor]]: Longword</td><td>RW</td></tr>
 +
  <tr><td>property [[TNewPlayer.HairColor|HairColor]]: Longword</td><td>RW</td></tr>
 +
  <tr><td>property [[TNewPlayer.HairStyle|HairStyle]]: Byte</td><td>RW</td></tr>
 +
  <tr><td>property [[TNewPlayer.Headgear|Headgear]]: Byte</td><td>RW</td></tr>
 +
  <tr><td>property [[TNewPlayer.Chain|Chain]]: Byte</td><td>RW</td></tr>
 +
  <tr><td>property [[TNewPlayer.Dummy|Dummy]]: Boolean</td><td>RW</td></tr>
 +
</table>
 +
</code>

Revision as of 23:50, 25 June 2013

Inheritance

Description

Creates a new player (bot).

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: TScriptWeaponRW
property Secondary: TScriptWeaponRW
property ShirtColor: LongwordRW
property PantsColor: LongwordRW
property SkinColor: LongwordRW
property HairColor: LongwordRW
property HairStyle: ByteRW
property Headgear: ByteRW
property Chain: ByteRW
property Dummy: BooleanRW