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


From Valve Developer Community
Jump to: navigation, search

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.


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

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.


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.
Removes this entity from the the movement hierarchy, leaving it free to move independently.

See also