Template:KVTargetname: Difference between revisions

From Stalburg Wiki
Jump to navigation Jump to search
(KV Targetname, use on entities that have Targetname in the FGD.)
(No difference)

Revision as of 02:58, 20 July 2017

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.