Player
Jump to navigation
Jump to search


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 <integer>
- Sets the player's health. Values clamped between 0 and max_health.
- SetHUDVisibility
- SetFogController
- physdamagescale
- KilledNPC
- skin <integer>
- Sets the model's skin.
Outputs
- Template:O targetname
- OnIgnite
- Fired when the entity is ignited.