Template:KVTargetname: Difference between revisions
Jump to navigation
Jump to search
(KV Targetname, use on entities that have Targetname in the FGD.) |
m (added targetname title) |
||
Line 1: | Line 1: | ||
''Targetname''<br> | |||
'''Name <string>''' | '''Name <string>''' | ||
: The targetname that other entities refer to this entity by. | : The targetname that other entities refer to this entity by. |
Latest revision as of 03:01, 20 July 2017
Targetname
Name <string>
- The targetname that other entities refer to this entity by.
Entity Scripts <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.
Script think function <string>
- Name of a function in this entity's script which will be called automatically every 100 milliseconds (ten times a second) for the duration of the script. It can be used to create timers or to simulate autonomous behavior. The return value (if present) will set the time until the next call.