ModEnc is currently in Maintenance Mode: Changes could occur at any given moment, without advance warning.
Actions (maps)/RA: Difference between revisions
Jump to navigation
Jump to search
Restyled yet again... I really think this style is satisfactory |
Update on TAction #35 |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 107: | Line 107: | ||
| style="text-align: center;" | Message# | | style="text-align: center;" | Message# | ||
|- | |- | ||
| colspan=5 | The text message with the index P3 from {{ | | colspan=5 | The text message with the index P3 from {{f|tutorial.ini|link}} is displayed | ||
|- | |- | ||
| rowspan=2 | {{Tt|12}} | | rowspan=2 | {{Tt|12}} | ||
Line 155: | Line 155: | ||
| style="text-align: center;" | Waypoint# | | style="text-align: center;" | Waypoint# | ||
|- | |- | ||
| colspan=5 | Reveals area ({{ | | colspan=5 | Reveals area ({{f|GapRadius|link}} cells) around the waypoint P3 | ||
|- | |- | ||
| rowspan=2 | {{Tt|18}} | | rowspan=2 | {{Tt|18}} | ||
Line 305: | Line 305: | ||
| style="text-align: center;" | -1 | | style="text-align: center;" | -1 | ||
| style="text-align: center;" | -1 | | style="text-align: center;" | -1 | ||
| style="text-align: center;" | | | style="text-align: center;" | [[QuarryTypes|Quarry#]] | ||
|- | |- | ||
| colspan=5 | Sets the HOUSE's preferred | | colspan=5 | Sets the HOUSE's preferred quarry type for super weapon targeting | ||
|- | |- | ||
| rowspan=2 | {{Tt|36}} | | rowspan=2 | {{Tt|36}} | ||
Line 334: | Line 334: | ||
{{Fn|2|HOUSE in this document refers to the house owning the Trigger, labeled "HOUSE" in the [[Maps/Triggers#RA.2FCS.2FAM|Triggers]] page.}} | {{Fn|2|HOUSE in this document refers to the house owning the Trigger, labeled "HOUSE" in the [[Maps/Triggers#RA.2FCS.2FAM|Triggers]] page.}} | ||
[[Category:Map_Information]] |
Latest revision as of 07:42, 17 February 2023
In RA, Actions were still part of the [Triggers] section, but now Triggers could have up to two Actions with up to three parameters each.
The following Actions were available:
Code 1 | Action | Parameter types | ||
---|---|---|---|---|
#1 (P1) | #2 (P2) | #3 (P3) | ||
0 | No action | -1 | -1 | -1 |
No Action - do nothing | ||||
1 | Winner is | -1 | -1 | House# |
Declares house P3 the winner | ||||
2 | Loser is | -1 | -1 | House# |
Declares house P3 the loser | ||||
3 | Production begins | -1 | -1 | House# |
House P3 is allowed to start autoproduction | ||||
4 | Create team | TeamType# | -1 | -1 |
HOUSE2 creates a TeamType P1 | ||||
5 | Destroy team | TeamType# | -1 | -1 |
All instances of the TeamType P1 are destroyed | ||||
6 | All to hunt | -1 | -1 | House# |
House P3 sends all objects it owns to freelance | ||||
7 | Reinforcement (team) | TeamType# | -1 | Waypoint# |
TeamType P1 is spawned at waypoint P3 and granted to its owner house | ||||
8 | Drop zone flare (waypoint) | -1 | -1 | Waypoint# |
Creates a "Drop Zone Flare" at waypoint P3 and reveals the area around it | ||||
9 | Fire sale | -1 | -1 | House# |
House P3 sells all of its buildings | ||||
10 | Play movie | -1 | -1 | Movie# |
Movie P3 is played | ||||
11 | Text trigger (ID number) | -1 | -1 | Message# |
The text message with the index P3 from tutorial.ini is displayed | ||||
12 | Destroy trigger | -1 | Trigger# | -1 |
Trigger P2 is disabled for the remainder of this mission | ||||
13 | Autocreate begins | -1 | -1 | House# |
House P3 starts autocreating teamtypes that have the Autocreate flag set | ||||
14 | ? | -1 | -1 | -1 |
Unknown | ||||
15 | Allow win | -1 | -1 | -1 |
The 'Win' action will not fire if any triggers with this action have not fired yet | ||||
16 | Reveal all map | -1 | -1 | -1 |
Reveals the entire map to the player | ||||
17 | Reveal around waypoint | -1 | -1 | Waypoint# |
Reveals area (GapRadius cells) around the waypoint P3 | ||||
18 | Reveal zone of waypoint | -1 | -1 | Waypoint# |
Reveals the zone of the waypoint P3 | ||||
Code 1 | Action | Parameter types | ||
#1 (P1) | #2 (P2) | #3 (P3) | ||
19 | Play sound effect | -1 | -1 | Sound effect# |
Plays the sound effect # P3 | ||||
20 | Play music theme | -1 | -1 | Theme# |
Plays music theme # P3 | ||||
21 | Play speech | -1 | -1 | Speech# |
Plays speech # P3 | ||||
22 | Force trigger | -1 | -1 | Trigger# |
Forces the trigger # P3 to fire | ||||
23 | Timer start | -1 | -1 | Time |
The mission timer is started and displayed | ||||
24 | Timer stop | -1 | -1 | Time |
The mission timer is paused and hidden | ||||
25 | Timer extend | -1 | -1 | time |
The mission timer is extended by (P3/10) minutes | ||||
26 | Timer shorten | -1 | -1 | Time |
The mission timer is shortened by (P3/10) minutes | ||||
27 | Timer set | -1 | -1 | Time |
The mission timer is set to (P3/10) minutes | ||||
28 | Global set | -1 | -1 | Global variable# |
Global variable # P3 is set | ||||
29 | Global clear | -1 | -1 | Global variable# |
Global variable # P3 is cleared | ||||
30 | Auto base building | -1 | -1 | House# |
Puts house P3 into "Skirmish AI" mode | ||||
31 | Grow shroud one 'step' | -1 | -1 | -1 |
The shroud grows 1 cell | ||||
32 | Destroy attached building | -1 | -1 | -1 |
Attached building is destroyed | ||||
33 | Add 1-time special weapon | -1 | House# | Super Weapon# |
Grants house P2 a single shot of super weapon P3 | ||||
34 | Add repeating special weapon | -1 | House# | Super weapon# |
Grants house P2 a repeating super weapon P3 | ||||
35 | Preferred target | -1 | -1 | Quarry# |
Sets the HOUSE's preferred quarry type for super weapon targeting | ||||
36 | Launch nukes | -1 | -1 | -1 |
All Missile Silos on the map play their "launching" animation and the EVA warning is created, without the nukes actually landing or exploding | ||||
Code 1 | Action | Parameter types | ||
#1 (P1) | #2 (P2) | #3 (P3) |
Unused parameters should be set to -1.
Notes
All parameters are unsigned integers, meaning all objects like structures, houses, etc. are referenced by their internal indexes. Those internal indexes are listed here.
1 ↑ This column specifies the code to be written in the Trigger's A1 or A2 slot.
2 ↑ HOUSE in this document refers to the house owning the Trigger, labeled "HOUSE" in the Triggers page.