Func ladderendpoint

From Valve Developer Community
Revision as of 19:31, 19 January 2009 by VDCBot (talk | contribs) (Robot: fixing template case.)
Jump to navigation Jump to search

Template:Wrongtitle Template:Base point

Entity Description

An entity used to specify the endpoints of a ladder. This entity is functional, but has been replaced by the easier-to-use func_useableladder entity. Left in only for backwards-compatibility!

To be valid, a full-sized player hull traced between the start and end points must not be obstructed at level activation time. The angle determines in which direction the player leaves the ladder if the player presses the +jump button.

Note.pngNote:This entity is non-functional in Counter-Strike: Source. In CS:S, use func_ladder instead.

Availability

Template:In game Template:Game-base In code it is represented by class CFuncLadderEndPoint, defined in func_ladder_endpoint.cpp.

Keyvalues

<target_destination> A ladder goes between any two func_ladderendpoints pointing at each other.

Inputs

Parentname:
SetParent <stringRedirectInput/string>
Move with this entity. See Entity Hierarchy (parenting).
SetParentAttachment <stringRedirectInput/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 <stringRedirectInput/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.

Outputs