Template:I Parentname: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
m (Robot: fixing template case.)
Line 3: Line 3:
*'''[[Entity_Hierarchy_%28parenting%29#SetParentAttachment|SetParentAttachment]] <string>'''
*'''[[Entity_Hierarchy_%28parenting%29#SetParentAttachment|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.
: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.
*'''{{ep1 add|[[Entity_Hierarchy_%28parenting%29#SetParentAttachmentMaintainOffset|SetParentAttachmentMaintainOffset]] <string>}}'''
*'''{{EP1 add|[[Entity_Hierarchy_%28parenting%29#SetParentAttachmentMaintainOffset|SetParentAttachmentMaintainOffset]] <string>}}'''
: 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's Origin and Angles at the time it is attached.
: 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's Origin and Angles at the time it is attached.
*'''[[Entity_Hierarchy_%28parenting%29#ClearParent|ClearParent]]'''
*'''[[Entity_Hierarchy_%28parenting%29#ClearParent|ClearParent]]'''
:Removes this entity from its current [[movement hierarchy]].
:Removes this entity from its current [[movement hierarchy]].

Revision as of 19:18, 19 January 2009

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's Origin and Angles at the time it is attached.
Removes this entity from its current movement hierarchy.