Difference between revisions of "Template:KV Targetname"

From Valve Developer Community
Jump to: navigation, search
m
(Category and templates)
Line 1: Line 1:
 
{{ScrollBox|title=Targetname|
 
{{ScrollBox|title=Targetname|
Name <code><[[string]]></code>
+
{{KV|Name|target_source|The name that other entities refer to this entity by. {{{targetname add|}}}}}
: The [[targetname]] other entities refer to this entity by. {{{targetname add|}}}
+
{{KV|Entity Scripts|scriptlist|Name(s) of script files that are executed after all entities have spawned.|since=L4D2}}
; {{l4d2 add|Entity Scripts <code><[[VScript]]s></code>}}
+
{{KV|Script think function|string|Name of a function in this entity's script scope which will be called automatically.|since=L4D2}}
: Name(s) of script files that are executed after all entities have spawned.
+
}}<noinclude>[[Category:FGD Templates|T]]</noinclude>
; {{l4d2 add|Script think function <code><[[string]]></code>}}
 
: Name of a function in this entity's script scope which will be called automatically.
 
}}
 

Revision as of 04:21, 8 June 2011

Targetname:

Name <targetname>
The name that other entities refer to this entity by.
Entity Scripts <scriptlist> (New with Left 4 Dead 2)
Name(s) of script files that are executed after all entities have spawned.
Script think function <string> (New with Left 4 Dead 2)
Name of a function in this entity's script scope which will be called automatically.