Player: Difference between revisions
Jump to navigation
Jump to search
Note:This entity is not listed in the FGD, and is not intended to be placed in a map with hammer.
Note:Key/values, inputs and outputs vary depending on engine version. (needs more research- this stuff is from ep2)
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{{stub}} | {{stub}} | ||
{{Note|This entity is not listed in the FGD, and is not intended to be placed in a map with hammer.}} | {{Note|This entity is not listed in the FGD, and is not intended to be placed in a map with hammer.}} | ||
Line 26: | Line 20: | ||
* {{i targetname}} | * {{i targetname}} | ||
* {{i parentname}} | * {{i parentname}} | ||
* '''IgnoreFallDamage''' | |||
* '''IgnoreFallDamageWithoutReset''' | |||
* '''OnSquadMemberKilled''' | |||
* '''DisableFlashlight''' | |||
: Disables the player's flashlight. | |||
* '''EnableFlashlight''' | |||
: Enables the player's flashlight. | |||
* '''ForceDropPhysObjects''' | |||
* '''SetHealth''' | |||
* '''SetHUDVisibility''' | |||
* '''SetFogController''' | |||
* '''physdamagescale''' | |||
* '''KilledNPC''' | |||
* '''skin <integer>''' | |||
: Sets the model's skin | |||
== Outputs == | == Outputs == | ||
* {{o targetname}} | * {{o targetname}} | ||
* '''OnIgnite''' | |||
: Fired when the entity is ignited. |
Revision as of 16:45, 26 June 2008


Entity Description
The player. This entity still exists even if the player is dead.
Keyvalues
- targetname <target_source>
- Defines the name that other entities refer to this entity by.
- friction
- health
- The player's health.
- max_health
- The value of "health" cannot exceed this.
- physdamagescale
Inputs
- Template:I targetname
- Template:I parentname
- IgnoreFallDamage
- IgnoreFallDamageWithoutReset
- OnSquadMemberKilled
- DisableFlashlight
- Disables the player's flashlight.
- EnableFlashlight
- Enables the player's flashlight.
- ForceDropPhysObjects
- SetHealth
- SetHUDVisibility
- SetFogController
- physdamagescale
- KilledNPC
- skin <integer>
- Sets the model's skin
Outputs
- Template:O targetname
- OnIgnite
- Fired when the entity is ignited.