Difference between revisions of "TNewPlayer"
(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 declaration | Acess mode |
---|---|
constructor Create | |
procedure Free | |
property Name: string | RW |
property Team: Byte | RW |
property Alive: Boolean | RW |
property Health: Integer | RW |
property Primary: TScriptWeapon | RW |
property Secondary: TScriptWeapon | RW |
property ShirtColor: Longword | RW |
property PantsColor: Longword | RW |
property SkinColor: Longword | RW |
property HairColor: Longword | RW |
property HairStyle: Byte | RW |
property Headgear: Byte | RW |
property Chain: Byte | RW |
property Dummy: Boolean | RW |