Info ladder dismount: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
m (Add internal name of LadderName keyval key) |
||
Line 7: | Line 7: | ||
== Keyvalues == | == Keyvalues == | ||
{{KV|LadderName|target_destination|If multiple ladders are near multiple endpoints, use this to stop them from interfering with each other.}} | {{KV|LadderName|intn=target|target_destination|If multiple ladders are near multiple endpoints, use this to stop them from interfering with each other.}} | ||
{{KV Parentname}} | {{KV Parentname}} | ||
Revision as of 03:53, 18 March 2021
Entity description
It sets the dismount points for ladders in Half-Life 2 and Half-Life 2: Deathmatch. When the player is on a ladder, near an info_ladder_dismount
, and facing it, he can press his use key to dismount into the position of the info_ladder_dismount
. This entity also allows the player to dismount a ladders endpoints by simply walking in the direction of the info_ladder_dismount
.
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.