Template:I Parentname: Difference between revisions
Jump to navigation
Jump to search
m (Robot: fixing template case.) |
TomEdwards (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
{{ScrollBox|title=Parentname| | |||
:Changes the entity's parent in the [[movement hierarchy]]. | ; <code>SetParent <[[targetname]]></code> | ||
: Changes the entity's parent in the [[movement hierarchy]]. | |||
:Change this entity to attach to a specific attachment point on its parent. Entities must be parented before being sent this input | ; <code>SetParentAttachment <[[string]]></code> | ||
: Change this entity to attach to a specific attachment point on its parent. Entities must be parented ''before'' being sent this input. | |||
: Change this entity to attach to a specific attachment point on it's parent. | ; {{EP1 add|<code>SetParentAttachmentMaintainOffset <string></code>}} | ||
: Change this entity to attach to a specific attachment point on it's parent. The entity will maintain it's position relative to the parent's [[origin]] and [[angles]] at the time it is attached. Entities must be parented ''before'' being sent this input. | |||
:Removes this entity from its current | ; <code>ClearParent</code> | ||
:Removes this entity from its current movement hierarchy. | |||
}} |
Revision as of 14:28, 19 July 2009
Parentname:
SetParent <targetname>
- Changes the entity's parent in the movement hierarchy.
SetParentAttachment <string>
- Change this entity to attach to a specific attachment point on its parent. Entities must be parented before being sent this input.
SetParentAttachmentMaintainOffset <string>
(in all games since)
- Change this entity to attach to a specific attachment point on it's parent. The entity will maintain it's position relative to the parent's origin and angles at the time it is attached. Entities must be parented before being sent this input.
ClearParent
- Removes this entity from its current movement hierarchy.