Radar event
Radar-notification kinds used by trigger actions that create map events.
- Engine enum
RadarEventType- Input form
- Integer
A radar event is a spinning box on the radar map that closes in on one cell to draw the player’s eye there. The game raises three kinds by itself:
- base attacked, when one of the player’s structures is damaged and EVA announces that the base is under attack, at most once per
SpeakDelaywait; - harvester attacked, when one of the player’s harvesters takes damage and survives;
- enemy sensed, when a cloaked or underground enemy is detected.
A map can raise any of the six kinds with the Create Radar Event trigger action.
The kind sets the box’s colors. Combat, base-attacked and harvester-attacked events pulse between orange and dark red. Non-combat and drop-zone events pulse between two greens, and enemy-sensed events pulse yellow.
Three comma-separated lists under [General] in rules.ini set timings and spacing per kind: RadarEventDurations, RadarEventVisibilityDurations and RadarEventSuppressionDistances. Each list takes one entry per kind, in the order of the table below. Give every list all six entries; each key page describes what a shorter list does.
Values
6 of 6
| Input | Meaning | Engine constant | Stored value |
|---|---|---|---|
0 | Combat event. | RADAREVENT_COMBAT | 0 |
1 | Non-combat event. | RADAREVENT_NONCOMBAT | 1 |
2 | Drop-zone event. | RADAREVENT_DROPZONE | 2 |
3 | Base-under-attack event. | RADAREVENT_BASE_ATTACKED | 3 |
4 | Harvester-under-attack event. | RADAREVENT_HARVESTER_ATTACKED | 4 |
5 | Enemy-detected event. | RADAREVENT_ENEMY_SENSED | 5 |
No enum values match this filter.
Used by
- Create Radar Event
TACTION_RADAR_EVENT
Source files
Linked at revision 51b52aa38392.