Difference between revisions of "TNewPlayer"
(→Description) |
(→Inheritance) |
||
| Line 1: | Line 1: | ||
==Inheritance== | ==Inheritance== | ||
| − | |||
*[[TPlayer]] | *[[TPlayer]] | ||
**[[TActivePlayer]] | **[[TActivePlayer]] | ||
Revision as of 14:15, 26 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 |