Template:KV Targetname null: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Version for entities that are removed before EmitStaticProps)
(would be better left unspecified in this case, still can use point_template for example)
 
(2 intermediate revisions by one other user not shown)
Line 5: Line 5:
; {{code|<nowiki>{{KV Targetname null}}</nowiki>}}
; {{code|<nowiki>{{KV Targetname null}}</nowiki>}}
<onlyinclude>{{#if:{{{vbsp only|}}}
<onlyinclude>{{#if:{{{vbsp only|}}}
| {{KV|[[targetname|Name]]|intn=targetname|target_source|Name of this entity. Can be used by compile tools as a [[prop_static]]'s lighting origin.<br>Also displayed in Hammer's 2D views and [[Entity Report]].}}
| {{KV|[[targetname|Name]]|intn=targetname|target_source|Name of this entity. Can be used by compile tools as a [[prop_static]]'s lighting origin.<br>Also displayed in Hammer's 2D views and [[Entity Report]]. No effect in-game.}}
| {{#if:{{{hammer only|}}}
| {{#if:{{{hammer only|}}}
| {{KV|[[targetname|Name]]|intn=targetname|target_source|Name of this entity. Displayed in Hammer's 2D views and [[Entity Report]].}}
| {{KV|[[targetname|Name]]|intn=targetname|target_source|Name of this entity. Displayed in Hammer's 2D views and [[Entity Report]]. No effect in-game, nor in map compilers.}}
| {{KV|[[targetname|Name]]|intn=targetname|target_source|Name of this entity. Can be used by compile tools as a [[light_spot|spotlight]] target or a [[prop_static]]'s lighting origin.<br>Also displayed in Hammer's 2D views and [[Entity Report]].}}
| {{KV|[[targetname|Name]]|intn=targetname|target_source|Name of this entity. Can be used by compile tools as a [[light_spot|spotlight]] target or a [[prop_static]]'s lighting origin.<br>Also displayed in Hammer's 2D views and [[Entity Report]].}}
}} }}</onlyinclude>
}} }}</onlyinclude>
Line 16: Line 16:




; {{code|<nowiki>{{KV Targetname null|vbsp only=1}}</nowiki>}}
; {{code|<nowiki>{{KV Targetname null|hammer only=1}}</nowiki>}}
{{KV Targetname null|hammer only=1}}
{{KV Targetname null|hammer only=1}}

Latest revision as of 08:56, 2 May 2025

See also:  {{KV Targetname}}, for entities that exist at runtime


{{KV Targetname null}}
Name (targetname) <string>
Name of this entity. Can be used by compile tools as a spotlight target or a prop_static's lighting origin.
Also displayed in Hammer's 2D views and Entity Report.


{{KV Targetname null|vbsp only=1}}
Name (targetname) <string>
Name of this entity. Can be used by compile tools as a prop_static's lighting origin.
Also displayed in Hammer's 2D views and Entity Report. No effect in-game.


{{KV Targetname null|hammer only=1}}
Name (targetname) <string>
Name of this entity. Displayed in Hammer's 2D views and Entity Report. No effect in-game, nor in map compilers.