Эта статья документации для всего, что использует платформу Source. Нажмите для получения дополнительной информации.

info_ladder_dismount

From Valve Developer Community
Jump to: navigation, search
English (en)Русский (ru)

info_ladder_dismount - это точечный объект мира, доступно для всех игр на движке Source Source.


Blank image.pngНужно сделать: 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) <целевой объект(en)>
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 <строка(en)>
Move with this entity. See Entity Hierarchy (parenting).
SetParentAttachment <строка(en)>
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 <строка(en)>
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.