HasSpotlight
Whether a structure carries a swept spotlight beam.
- Applies to
- BuildingType
- File
rules.ini- Section
[<ObjectType ID>]- Value
- boolean
- When omitted
no
[GASPOT] ; the stock light towerHasSpotlight=trueA structure with the flag is given a beam as it is placed on the map, and the beam is destroyed with it. The beam starts out sweeping, and every second one created starts out sweeping the other way along its arc, so that a row of towers does not swing in unison. The [General] spotlight settings cover the rest of its geometry: SpotlightLocationRadius and SpotlightMovementRadius place the beam and its pivot, SpotlightAngle, SpotlightSpeed and SpotlightAcceleration drive the sweep, and SpotlightRadius fixes what the beam notices. Fields, fences and lights covers the power condition both the drawing and the scan depend on.
A scenario’s structure entry carries a spotlight behavior of its own, so a map may place one of these towers with its beam circling, following a target, or switched off and invisible instead of sweeping; the Change spotlight behavior trigger action moves every tagged structure that carries a beam between those states mid-scenario. A structure without the flag has no beam for either of them to reach.
The flag has nothing to do with the colored glow a structure casts on the ground around it, which LightIntensity covers; a type may carry either, both, or neither.