Template:KV Source 2 Targetname: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Created page with "{{KV|Name (targetname)|string|The targetname that other entities refer to this entity by.}} {{KV|Entity Scripts (vscripts)|scriptlist|Space delimited list of VScript f...")
 
mNo edit summary
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{KV|Name (targetname)|string|The [[targetname]] that other entities refer to this entity by.}}
{{ScrollBox|title=Source 2 Targetname|
{{KV|Entity Scripts (vscripts)|scriptlist|Space delimited list of [[VScript]] files (without file extension) that are executed after all entities have spawned. The scripts are all executed in the same script scope, later ones overwriting any identical variables and functions.}}
{{KV|Name|intn=targetname|string|The [[targetname]] that other entities refer to this entity by.}}
{{KV|Entity Scripts|intn=vscripts|scriptlist|Space delimited list of [[VScript]] files (without file extension) that are executed after all entities have spawned. The scripts are all executed in the same script scope, later ones overwriting any identical variables and functions.}}
{{KV|Create Client-Only Entity|intn=clientSideEntity|choices}}
:*0: No
:*1: Yes
}}
 
<noinclude>
<noinclude>
[[Category:KeyValue Templates|Source 2 Targetname]]
[[Category:KeyValue Templates|Source 2 Targetname]]
</noinclude>
</noinclude>

Latest revision as of 10:01, 20 September 2024

Source 2 Targetname:
Name (targetname) <string>
The targetname that other entities refer to this entity by.
Entity Scripts (vscripts) <scriptlist>
Space delimited list of VScript files (without file extension) that are executed after all entities have spawned. The scripts are all executed in the same script scope, later ones overwriting any identical variables and functions.
Create Client-Only Entity (clientSideEntity) <choices>
  • 0: No
  • 1: Yes