Skip to content

Spotlight behavior

INI referenceEnumsLightBehaviorType

Modes a structure's spotlight beam runs in, from sweeping an arc to standing still and undrawn.

Engine enum
LightBehaviorType
Input form
Integer

Follow drops back to Sweep the moment its quarry dies or moves beyond SpotlightMovementRadius, which makes it a temporary state rather than a standing one; a beam is given Sweep when its structure is placed, so 0 is only ever reached by a map or a trigger asking for it. Which of the modes runs the intruder scan, and when, is covered by SpotlightRadius.

Values

4 of 4

InputMeaningEngine constantStored value
0Beam held in place and not drawn at all.LIGHT_BEHAVIOR_NONE0
1Sweep the beam back and forth across an arc centered on the structure's facing.LIGHT_BEHAVIOR_SWEEP1
2Carry the beam around the structure at a constant rate.LIGHT_BEHAVIOR_CIRCLE2
3Track the nearest enemy soldier or vehicle standing where the beam sat when the mode was set.LIGHT_BEHAVIOR_FOLLOW3

Used by

Source files

Linked at revision 59fae722af8c.