Template:I Parentname

From Valve Developer Community
Revision as of 14:28, 19 July 2009 by TomEdwards (talk | contribs)
Jump to navigation Jump to search
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 Half-Life 2: Episode One)
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.