Trigger lift: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{CDA|CTriggerLift|CBaseTrigger|CBaseToggle|CBaseEntity|}}
{{this is a|brush entity|name=trigger_lift|game=Black Mesa}} It's a trigger volume that can lift up player or physics object, if they are touching it. Doesn't work with some [[NPC|NPCs]].
{{this is a|brush entity|name=trigger_lift|game=Black Mesa}} It's a trigger volume that can lift up player or physics object, if they are touching it. Doesn't work with some [[NPC|NPCs]].


Represented by class <code>CTriggerLift</code>.
{{back |Black Mesa Level Creation}}
==Keyvalues==
==Keyvalues==
{{KV Targetname}}
{{KV Targetname}}
{{KV|intn=liftaccel|Lift Acceleration|float|This is lift acceleration.}}
{{KV|intn=liftaccel|Lift Acceleration|float|This is lift acceleration.}}
{{KV|intn=clampspeed|Clamp Speed|float|This is clamp speed.}}
{{KV|intn=clampspeed|Clamp Speed|float|This is clamp speed.}}
{{KV|intn=parentname|Parent|target_destination|The name of this entity's parent in the movement hierarchy. Entities with parents move with their parent.}}
{{KV BaseTrigger}}
==Flags==
{{Fl BaseTrigger}}
==Inputs==
{{I BaseTrigger}}
==Outputs==
{{O BaseTrigger}}

Latest revision as of 13:19, 8 July 2025

C++ Class hierarchy
CTriggerLift
CBaseTrigger
CBaseToggle
CBaseEntity

trigger_lift is a brush entity available in Black Mesa Black Mesa. It's a trigger volume that can lift up player or physics object, if they are touching it. Doesn't work with some NPCs.

Keyvalues

Name (targetname) <string>[ Edit ]
The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g. parentname or target).
Also displayed in Hammer's 2D views and Entity Report.
See also:  Generic Keyvalues, Inputs and Outputs available to all entities

Lift Acceleration (liftaccel) <float>
This is lift acceleration.
Clamp Speed (clampspeed) <float>
This is clamp speed.