info_ladder_dismount

From Valve Developer Community
Jump to: navigation, search

This is a point entity available in all Source games.

Опсание

Эта ентити устанавливает количество точек для лестниц в Half-Life 2 и Half-Life 2: Deathmatch. Когда игрок на лестнице, рядом с info_ladder_dismount, он может нажать клавишу "+USE"(использовать), чтобы слезть с лестницы в данном направлении. Также игрок может слезть с лестницы, пройдясь выше этой ентити

In code it is represented by class CInfoLadderDismount, defined in func_ladder.cpp.

Keyvalues

  • 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.
  • target
<target_destination> If multiple ladders are near multiple endpoints, use this to stop them from interfering with each other.

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.