Template:KV Parentname: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(https://github.com/ValveSoftware/source-sdk-2013/blob/master/mp/src/game/server/mapentities.cpp#L83 This is about the keyvalue, not the input.)
m (Added Template:Lang)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
<noinclude>
<noinclude>
{{lang|Template:KV Parentname}}
{{note|'''This template is deprecated. For new entity pages, please use [[Template:KV BaseEntity]] instead.'''}}
{{note|'''This template is deprecated. For new entity pages, please use [[Template:KV BaseEntity]] instead.'''}}
</noinclude>
</noinclude>
Line 12: Line 13:
* <code>triggerwarning</code> (provide a dummy parent for map init)
* <code>triggerwarning</code> (provide a dummy parent for map init)
* <code>cswarning</code> (Counter-Strike: Source round restart oddness)
* <code>cswarning</code> (Counter-Strike: Source round restart oddness)


[[Category:Keyvalue Templates|Parentname]]
[[Category:Keyvalue Templates|Parentname]]
</noinclude>
</noinclude>

Latest revision as of 23:59, 2 October 2021

Note.pngNote: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)