info_null

Modified

12-Jul-2023

The info_null entity is commonly used as a target for light_spot entities. The compile tools will make any light_spot entity with a target 'look at' their targets. This is useful if the hierarchical Euler angles principle is too much for your brain to grasp properly, which doesn't appear to be rare. All info_null entities are removed when the map is loaded.

Keyvalues


OnDestroy Function ondestroyfn : Name of the function to use from already parsed .as script files when entity is destroyed (killed) in any way. If the function belongs to namespace, you must use prefix with the namespace name (e.g. mynamespace::MyFunction) for the keyvalue.

Name targetname : Set the name so other entity can point to this entity as a target, preferably light_spot.