Difference between revisions of "TNewPlayer"
(→Description) |
(→Description) |
||
| Line 6: | Line 6: | ||
==Description== | ==Description== | ||
| − | Represents a new player (bot). To create one, you can use [[TPlayers.Add]]. | + | Represents a new player (bot). To effectively create one, you can use [[TPlayers.Add]]. |
user constructable: '''YES'''<br> | user constructable: '''YES'''<br> | ||
Revision as of 23:05, 25 June 2013
Inheritance
Description
Represents a new player (bot). To effectively create one, you can use TPlayers.Add.
user constructable: YES
user destructable: NO
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 |