Keyvalue/Targetname: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Fixed the grammar in the Russian version)
No edit summary
Line 7: Line 7:
[[Category:Keyvalue Templates|T]]
[[Category:Keyvalue Templates|T]]


<includeonly><onlyinclude>
<includeonly>
<onlyinclude>
{{#switch: {{language}}
{{#switch: {{language}}
| #default = {{KV|[[Targetname|Name]]|intn=targetname|target_source|The name that other entities refer to this entity by, via [[Inputs and Outputs|Inputs/Outputs]] or other [[keyvalue]]s (e.g. <code>[[Entity_Hierarchy_(parenting)#Parentname|parentname]]</code> or <code>target</code>).</br>Also displayed in Hammer's 2D views and [[Hammer Entity Report Dialog|Entity Report]].}} {{seealso|[[Generic Keyvalues, Inputs and Outputs]] available to all entities}}
 
| #default = {{KV
| intn = targetname
| game = {{Invisible edit link|KV Targetname}}
| 1 = [[Targetname|Name]]
| 2 = target_source
| 3 = The name that other entities refer to this entity by, via [[Inputs and Outputs|Inputs/Outputs]] or other [[keyvalue]]s (e.g. <code>[[Entity_Hierarchy_(parenting)#Parentname|parentname]]</code> or <code>target</code>).</br>Also displayed in Hammer's 2D views and [[Hammer Entity Report Dialog|Entity Report]].}} {{seealso|[[Generic Keyvalues, Inputs and Outputs]] available to all entities}}


| hr = {{KV|{{L|Targetname|Name}}|intn=targetname|target_source|Naziv kojim se drugi entiteti pozivaju na ovaj entitet, putem {{L|Inputs and Outputs|Inputs/Outputs}} ili drugih {{L|keyvalue|ključne vrijednosti}} (npr. <code>[[Entity_Hierarchy_(parenting)#Parentname|parentname]]</code> ili <code>target</code>).</br>Također se prikazuje u Hammerovim 2D pogledima i {{L|Hammer Entity Report Dialog|Entity Report}}.}} {{seealso|{{L|Generic Keyvalues, Inputs and Outputs|Generičke ključne vrijednosti, ulazi i izlazi}} dostupni svim subjektima}}
| hr = {{KV|{{L|Targetname|Name}}|intn=targetname|target_source|Naziv kojim se drugi entiteti pozivaju na ovaj entitet, putem {{L|Inputs and Outputs|Inputs/Outputs}} ili drugih {{L|keyvalue|ključne vrijednosti}} (npr. <code>[[Entity_Hierarchy_(parenting)#Parentname|parentname]]</code> ili <code>target</code>).</br>Također se prikazuje u Hammerovim 2D pogledima i {{L|Hammer Entity Report Dialog|Entity Report}}.}} {{seealso|{{L|Generic Keyvalues, Inputs and Outputs|Generičke ključne vrijednosti, ulazi i izlazi}} dostupni svim subjektima}}
Line 18: Line 25:


| zh = {{seealso|[[Generic Keyvalues, Inputs and Outputs]] available to all entities}} {{KV|{{L|Targetname|Name}}|intn=targetname|target_source|其他实体引用该实体的目标名称。}}
| zh = {{seealso|[[Generic Keyvalues, Inputs and Outputs]] available to all entities}} {{KV|{{L|Targetname|Name}}|intn=targetname|target_source|其他实体引用该实体的目标名称。}}
}}</onlyinclude></includeonly>
 
}}</onlyinclude>
</includeonly>

Revision as of 11:55, 19 May 2025

English (en)Hrvatski (hr)Русский (ru)Slovenčina (sk)中文 (zh)
See also:  {{KV Targetname null}}, for entities that are either stripped by compilers or removed shortly after the map spawns


{{KV Targetname}}
Name (targetname) <string> [ Edit ]
The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g. parentname or target).
Also displayed in Hammer's 2D views and Entity Report.
See also:  Generic Keyvalues, Inputs and Outputs available to all entities