Template:I Parentname: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
 
mNo edit summary
Line 1: Line 1:
'''SetParent <string>'''
'''SetParent <target_destination>'''
:Changes the entity's parent in the movement hierarchy.
:Changes the entity's parent in the movement hierarchy.
*'''SetParentAttachment <string>'''
*'''SetParentAttachment <string>'''

Revision as of 13:05, 8 October 2005

SetParent <target_destination>

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. The parameter passed in should be the name of the attachment.
  • ClearParent
Removes this entity from the the movement hierarchy, leaving it free to move independently.