This article's documentation is for anything that uses the Source engine. Click here for more information.

Difference between revisions of "Info ladder dismount"

From Valve Developer Community
Jump to: navigation, search
m
m
 
Line 1: Line 1:
{{this is a |name=info_ladder_dismount|engine=2|point}}  
+
{{this is a|name=info_ladder_dismount|e0}}  
  
 
==Entity description==
 
==Entity description==

Latest revision as of 17:05, 30 November 2023

info_ladder_dismount is a point entity available in all Source Source games.

Entity description

It sets the dismount points for ladders in Half-Life 2 Half-Life 2 and Half-Life 2: Deathmatch Half-Life 2: Deathmatch. When the player is on a ladder, near an info_ladder_dismount, and facing it, they can press their use key to dismount into the position of the info_ladder_dismount. This entity also allows the player to dismount a ladder's endpoints by simply walking in the direction of the info_ladder_dismount.


In code, it is represented by theCInfoLadderDismountclass, defined in thefunc_ladder.cppfile.

Keyvalues

LadderName (target) <targetname>
If multiple ladders are near multiple endpoints, use this to stop them from interfering with each other.

Parentname:
Parent (parentname) <targetname>
Specifies a movement parent. An entity will maintain its initial offset from its parent. An attachment point can be added to the end of the name, separated by a comma.

Inputs


Parentname:
SetParent <string>
Move with this entity. See Entity Hierarchy (parenting).
SetParentAttachment <string>
Change this entity to attach to a specific attachment point on its parent. The entity will teleport so that the position of its root bone matches that of the attachment. Entities must be parented before being sent this input.
SetParentAttachmentMaintainOffset <string>
As above, but without teleporting. The entity retains its position relative to the attachment at the time of the input being received.
ClearParent
Removes this entity from the the movement hierarchy, leaving it free to move independently.

See also