Skip to content

Radar event

INI referenceEnumsRadarEventType

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 SpeakDelay wait;
  • 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

InputMeaningEngine constantStored value
0Combat event.RADAREVENT_COMBAT0
1Non-combat event.RADAREVENT_NONCOMBAT1
2Drop-zone event.RADAREVENT_DROPZONE2
3Base-under-attack event.RADAREVENT_BASE_ATTACKED3
4Harvester-under-attack event.RADAREVENT_HARVESTER_ATTACKED4
5Enemy-detected event.RADAREVENT_ENEMY_SENSED5

Used by

Source files

Linked at revision 51b52aa38392.