Template:KV Parentname

From Valve Developer Community
Revision as of 08:47, 21 September 2020 by Blixibon (talk | contribs) (Reverted fake declaration of fake news (perhaps it's game-specific?))
Jump to: navigation, search
Note.png Note: This template is deprecated. For new entity pages, please use Template:KV BaseEntity instead.

Parentname:

Parent (parentname) <targetname>
Specifies a movement parent. An entity will maintain its initial offset from its parent. An attachment point can be added to the end of the name, separated by a comma.

There are three extra bits you can add to this template:

  • vphystip (can't parent vphys objects)
  • triggerwarning (provide a dummy parent for map init)
  • cswarning (Counter-Strike: Source round restart oddness)