Template:I Source 2 Hierarchy: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Created page with "{{ScrollBox|title=Source 2 Hierarchy| {{IO|SetParent|Changes the entity's parent in the movement hierarchy.|param=string}} {{IO|SetParentAttachment|Change this entity to attac...")
 
m (→‎top: Substituted IO templates)
 
Line 1: Line 1:
{{ScrollBox|title=Source 2 Hierarchy|
{{ScrollBox|title=Source 2 Hierarchy|
{{IO|SetParent|Changes the entity's parent in the movement hierarchy.|param=string}}
{{I|SetParent|Changes the entity's parent in the movement hierarchy.|param=string}}
{{IO|SetParentAttachment|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.|param=string}}
{{I|SetParentAttachment|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.|param=string}}
{{IO|SetParentAttachmentMaintainOffset|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.|param=string}}
{{I|SetParentAttachmentMaintainOffset|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.|param=string}}
{{IO|ClearParent|Removes this entity from the the movement hierarchy, leaving it free to move independently.}}}}
{{I|ClearParent|Removes this entity from the the movement hierarchy, leaving it free to move independently.}}}}
<noinclude>
<noinclude>
[[Category:Input Templates|Source 2 Hierarchy]]
[[Category:Input Templates|Source 2 Hierarchy]]
</noinclude>
</noinclude>

Latest revision as of 12:56, 21 April 2025

Source 2 Hierarchy:
SetParent <string>
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.
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 at the time it is attached.
ClearParent
Removes this entity from the the movement hierarchy, leaving it free to move independently.