Keyvalue/Targetname: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
(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 21:21, 7 June 2011

Targetname:
Name ([todo internal name (i)]) <string>
The name that other entities refer to this entity by.
Entity Scripts ([todo internal name (i)]) <scriptlist> (in all games since Left 4 Dead 2)
Name(s) of script files that are executed after all entities have spawned.
Script think function ([todo internal name (i)]) <string> (in all games since Left 4 Dead 2)
Name of a function in this entity's script scope which will be called automatically.