ModEnc is currently in Maintenance Mode: Changes could occur at any given moment, without advance warning.
Actions (maps): Difference between revisions
Jump to navigation
Jump to search
m Woops, category sort order |
m Disambiguated one of the details. |
||
(2 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
{{WrongTitle|[Actions]}} | {{WrongTitle|[Actions]}} | ||
{{ | {{MappingBar}} | ||
== Section == | == Section == | ||
=== | === <span id="td"></span>{{td}} === | ||
[[ | [[Actions (maps)/TD|List Of Available Actions]] | ||
Section didn't exist, actions were specified inline in the [{{Tt|[[ | Section didn't exist, actions were specified inline in the [{{Tt|[[Triggers#td|Triggers]]}}] section with only one action per trigger. | ||
=== | === <span id="ra"></span>{{ra}}, {{cs}}, {{am}} === | ||
[[ | [[Actions (maps)/RA|List of Available Actions]] | ||
Section didn't exist, actions were specified inline in the [{{Tt|[[ | Section didn't exist, actions were specified inline in the [{{Tt|[[Triggers#ra|Triggers]]}}] section with up to two actions per trigger. | ||
=== | === <span id="ts"></span>{{ts}}, {{fs}} === | ||
[[ | [[Actions (maps)/TSFS|List of Available Actions]] | ||
The typical [Actions] section looks like this: | The typical [Actions] section looks like this: | ||
Line 48: | Line 48: | ||
|} | |} | ||
Additional actions are listed in the same manner. A single Action can contain about 20 actions (the parser stops reading after | Additional actions are listed in the same manner. A single Action can contain about 20 actions (the parser stops reading after 512 characters). | ||
=== | === <span id="ra2"></span><span id="yr"></span>{{ra2}}, {{yr}} === | ||
[[ | [[Actions (maps)/RA2YR|List of Available Actions]] | ||
The typical section looks exactly like in TS: | The typical section looks exactly like in TS: | ||
Line 86: | Line 86: | ||
== See Also == | == See Also == | ||
* | *{{sl|Triggers}} | ||
* | *{{sl|Events}} | ||
Latest revision as of 18:35, 26 June 2019
This page should correctly be named "[Actions]"; it is wrong due to technical restrictions.
Section
Tiberian Dawn
Section didn't exist, actions were specified inline in the [Triggers] section with only one action per trigger.
Red Alert, Counterstrike, Aftermath
Section didn't exist, actions were specified inline in the [Triggers] section with up to two actions per trigger.
Tiberian Sun, Firestorm
The typical [Actions] section looks like this:
[Actions] ID=NUM,A1,A1P1,A1P2,A1P3,A1P4,A1P5,A1P6,A1P7
The meanings are as follows:
String | Meaning |
---|---|
ID | The Action's ID. Has to be the same as the Trigger's ID. |
NUM | Amount of actual actions in this Action. |
A1 | The first action (its index in the Available Actions list) |
A1P1 | The first parameter for A1, defaults to 0 |
A1P2 | The second parameter for A1, defaults to 0 |
A1P3 | The third parameter for A1, defaults to 0 |
A1P4 | The fourth parameter for A1, defaults to 0 |
A1P5 | The fifth parameter for A1, defaults to 0 |
A1P6 | The sixth parameter for A1, defaults to 0 |
A1P7 | The seventh parameter for A1, defaults to 0 |
Additional actions are listed in the same manner. A single Action can contain about 20 actions (the parser stops reading after 512 characters).
Red Alert 2, Yuri's Revenge
The typical section looks exactly like in TS:
[Actions] ID=NUM,A1,A1P1,A1P2,A1P3,A1P4,A1P5,A1P6,A1P7 ID=NUM,A1,A1P1,A1P2,A1P3,A1P4,A1P5,A1P6,A1P7,A2,A2P1,A2P2,A2P3,A2P4,A2P5,A2P6,A2P7
The meanings are as follows:
String | Meaning |
---|---|
ID | The Action's ID. Has to be the same as the Trigger's ID. |
NUM | Amount of actual actions in this Action. |
A1 | The first action (its index in the Available Actions list) |
A1P1 | The first parameter for A1, defaults to 0 |
A1P2 | The second parameter for A1, defaults to 0 |
A1P3 | The third parameter for A1, defaults to 0 |
A1P4 | The fourth parameter for A1, defaults to 0 |
A1P5 | The fifth parameter for A1, defaults to 0 |
A1P6 | The sixth parameter for A1, defaults to 0 |
A1P7 | The seventh parameter for A1, defaults to 0 |