Trigger playermovement: Difference between revisions
Jump to navigation
Jump to search
Warning:Don't kill this trigger while players are touching. Players will stay in duck, walk or disable jump mode
Warning:
Players will remain stuck in duck, walk, or disable jump mode if they die within the volume and the round subsequently resets. This behavior is not removed until the player enters and exits the trigger volume again after respawning. Untested in other games, but you should probably not use this entity in a place where players could die while touching it shortly before round reset.
(added tf2 warning about dying in the volume right before round resets) |
mNo edit summary |
||
Line 1: | Line 1: | ||
{{CD|CTriggerPlayerMovement|file1=triggers.cpp}} | {{CD|CTriggerPlayerMovement|file1=triggers.cpp}} | ||
__NOTOC__ | __NOTOC__ | ||
{{ | {{entity|trigger_playermovement|type=e2}} It can be used to control player's movement options, for instance by automatically ducking or forcing walking speed. | ||
{{warning|Don't kill this trigger while players are touching. Players will stay in duck, walk or disable jump mode}} | {{warning|Don't kill this trigger while players are touching. Players will stay in duck, walk or disable jump mode}} | ||
{{warning|{{tf2}}Players will remain stuck in duck, walk, or disable jump mode if they die within the volume and the round subsequently resets. This behavior is not removed until the player enters and exits the trigger volume again after respawning. Untested in other games, but you should probably not use this entity in a place where players could die while touching it shortly before round reset.}} | {{warning|{{tf2}}Players will remain stuck in duck, walk, or disable jump mode if they die within the volume and the round subsequently resets. This behavior is not removed until the player enters and exits the trigger volume again after respawning. Untested in other games, but you should probably not use this entity in a place where players could die while touching it shortly before round reset.}} |
Revision as of 08:00, 24 January 2023
![]() |
---|
CTriggerPlayerMovement |
![]() |
Template:Entity It can be used to control player's movement options, for instance by automatically ducking or forcing walking speed.



Keyvalues
|
- Name (targetname) <string>[ Edit ]
- The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g.
parentname
ortarget
).
Also displayed in Hammer's 2D views and Entity Report.See also: Generic Keyvalues, Inputs and Outputs available to all entities
Flags
- (OBSOLETE, Uncheck me) : [16]
- Disable auto player movement : [128]
- Auto-duck while in trigger : [2048]
- Auto-walk while in trigger Template:L4D add : [4096]
- Disable jump while in trigger Template:L4d2 add : [8192]
Inputs
EnableDisable:
- Enable / Disable
- Enable/disable this entity from performing its task. It might also disappear from view.