Difference between revisions of "TNewPlayer"
(→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: ''' | + | 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]]: | + | <tr><td>property [[TNewPlayer.Primary|Primary]]: [[TWeapon]]</td><td>RW</td></tr> |
| − | <tr><td>property [[TNewPlayer.Secondary|Secondary]]: | + | <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 14: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 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: TWeapon | RW |
| property Secondary: TWeapon | 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 |