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

info_ladder_dismount

From Valve Developer Community
Jump to: navigation, search

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


Blank image.pngTodo: This template is currently using deprecated suf or {{Lang}}-based translations. Please use the main {{Code class}} instead, which uses {{Autolang}}.
В коде представлен в виде класса CInfoLadderDismount, определённого в файле func_ladder.cpp.


Опсание

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

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.