ModEnc is currently in Maintenance Mode: Changes could occur at any given moment, without advance warning.
Events/RA
< Events
In RA, Events were still part of the [Triggers] section, but now Triggers could have up to two parameters.
The following Events were available:
Event | Code 1 | Meaning |
---|---|---|
None | 0 | No Event - cannot be activated |
Entered by | 1 | House ExP24 enters attached building/celltag |
Spied by | 2 | House ExP2 sends a spy into attached building |
Thieved by | 3 | Doesn't work |
Discovered by player | 4 | House owning the attached object is discovered by the player |
House Discovered | 5 | House ExP2 is discovered by the player |
Attacked by anybody | 6 | Attached object is attacked by anybody |
Destroyed by anybody | 7 | Attached object is destroyed by anybody |
Any event | 8 | Any event |
Destroyed, Units, All | 9 | All units of house ExP2 are destroyed (does not include civilian objects owned by ExP2) |
Destroyed, Buildings, All | 10 | All buildings of house ExP2 are destroyed (does not include civilian objects owned by ExP2) |
Destroyed, All | 11 | All objects of house ExP2 are destroyed (does not include civilian objects owned by ExP2) |
Credits exceed | 12 | HOUSE2 has at least ExP2 credits |
Elapsed time (1/10th min) | 13 | ExP2 / 10 minutes have passed in this mission |
Mission timer expired | 14 | Mission timer expired |
Destroyed, Buildings, # | 15 | Exactly ExP2 buildings owned by HOUSE have been destroyed (does include civilian objects owned by ExP2) |
Destroyed, Units, # | 16 | Exactly ExP2 units owned by HOUSE have been destroyed (does include civilian objects owned by ExP2) |
No factories left | 17 | HOUSE has no factories left ("factories" include only FACT, AFLD, BARR, TENT, WEAP) |
Civilians evacuated | 18 | Civilian objects owned by HOUSE have left the map (See Template:TTL ) |
Build building type | 19 | Building whose internal index5 is ExP2 is placed on the map |
Build unit type | 20 | Unit whose internal index is ExP2 is placed on the map |
Build infantry type | 21 | Infantry whose internal index is ExP2 is placed on the map |
Build aircraft type | 22 | Aircraft whose internal index is ExP2 is placed on the map |
Leaves map (team) | 23 | TeamType with index ExP13 leaves the map |
Zone entry by | 24 | Attached celltrigger's zone entered by house ExP2 |
Crosses horizontal line | 25 | House ExP2 crosses the horizontal line of the attached celltag |
Crosses vertical line | 26 | House ExP2 crosses the vertical line of the attached celltag |
Global is set | 27 | Global variable with index ExP2 is set |
Global is clear | 28 | Global variable with index ExP2 is cleared |
Destroyed, Fakes, All | 29 | Doesn't work, fires immediately |
Low power | 30 | House ExP2 is in a low power situation |
All bridges destroyed | 31 | All destructable bridges destroyed |
Building exists | 32 | HOUSE owns a building with internal number ExP2 |
Events took two parameters which defaulted to -1.
Notes
1 ↑ This column specifies the code to be written in the Trigger's E1 or E2 slot.
2 ↑ HOUSE in this document refers to the house owning the Trigger, labeled "HOUSE" in the Triggers page.
3 ↑ ExP1 in this document refers to the trigger's first parameter in the Triggers page.
4 ↑ ExP2 in this document refers to the trigger's second parameter in the Triggers page.