35 — Enemy In Spotlight...
Fires while a sweeping beam on the tagged structure has a non-allied soldier or vehicle inside its detection radius.
- Numeric ID
35- Engine ID
TEVENT_ENEMY_IN_SPOTLIGHT- Editor name
- Enemy In Spotlight...
- Need token
NEED_NONE- Parameters
- None
- Attachment
- object
[Events]
<TriggerID>=1,35,0,0What the scan takes
Section titled “What the scan takes”A beam runs the scan once per frame and springs the event under all of:
- the beam is sweeping its arc;
- the structure carrying it is still standing, powered on, and holds a tag;
- a soldier or a vehicle standing in the beam’s own cell or one of the eight around it is not an ally of the structure’s house and lies within thirty leptons more than the beam’s detection radius of the beam.
That radius grows as the beam swings away from the structure, so the same nine cells are searched throughout but the distance the intruder is allowed to stand at is not fixed.
Which beams reach the scan
Section titled “Which beams reach the scan”The beam’s behavior decides whether the scan is reached at all. A sweeping beam runs it every frame. A circling beam and a beam held still never do, so switching a beam to either silences the event for as long as it stays there.
A following beam runs the scan on the one frame it loses its target and drops back to sweeping. On that frame the beam’s position is written back from a figure the follow path never worked out, so where the scan looks is not settled by where the beam had been.
- The scan is run from where the beam is standing rather than from the structure, and the beam travels well away from it.
- Soldiers and vehicles are the only intruders counted. An aircraft, a structure or anything else standing in the light is passed over.
- The test is alliance, not hostility. A neutral or a civilian object the structure's house has not allied itself with counts as an intruder.
- Both spotlight events are sprung on the same find, one immediately after the other, so nothing in the offer distinguishes them.
- The tag has to be on the structure carrying the beam. A tag on the intruder, or on the cell the beam is over, is offered nothing.