Template:KV Parentname: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 1: Line 1:
{{ScrollBox|title=Parentname|
{{ScrollBox|title=Parentname|
{{KV|Parent|target_destination|Specifies the targetname of this entity's [[Entity Hierarchy (parenting)|movement parent]]. Entities with parents move with their parent.}}
{{KV|Parent|targetname|Specifies a [[Entity Hierarchy (parenting)|movement parent]]. An entity will maintain its initial offset from its parent. {{tip|Parenting has no effect on [[VPhysics]] entities. Use a [[phys_constraint]] instead.}} {{#if: {{{cswarning|}}} | {{warning|{{css}} In Counter-Strike: Source, [[Counter-Strike Source Entity Overview#Counter-Strike Round Restarts|parenting this entity to another can break your map]].}} }} }}
}}<noinclude>
}}<noinclude>
[[Category:Keyvalue Templates|Parentname]]
[[Category:Keyvalue Templates|Parentname]]
</noinclude>
</noinclude>

Revision as of 02:36, 29 July 2011

Parentname:
Parent ([todo internal name (i)]) <targetname>
Specifies a movement parent. An entity will maintain its initial offset from its parent.
Tip.pngTip:Parenting has no effect on VPhysics entities. Use a phys_constraint instead.