Trigger lift: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
No edit summary
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|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|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}}

Revision as of 06:46, 27 May 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

Lift Acceleration (liftaccel) <float>
This is lift acceleration.
Clamp Speed (clampspeed) <float>
This is clamp speed.
Parent (parentname) <targetname>
The name of this entity's parent in the movement hierarchy. Entities with parents move with their parent.