Template:I Parentname

From Valve Developer Community
Revision as of 12:22, 2 March 2008 by Beeswax (talk | contribs) (added help links to key names)
Jump to navigation Jump to search

SetParent <target_destination>

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. The parameter passed in should be the name of the attachment.
Change this entity to attach to a specific attachment point on it's parent. Entities must be parented before being sent this input. The parameter passed in should be the name of the attachment. The entity will maintain it's position relative to the parent at the time it is attached.
Removes this entity from the the movement hierarchy, leaving it free to move independently.