ModEnc is currently in Maintenance Mode: Changes could occur at any given moment, without advance warning.

Actions (maps): Difference between revisions

From ModEnc
Jump to navigation Jump to search
Updating with new sidebar + anchors
Crimsonum (talk | contribs)
m Disambiguated one of the details.
 
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 a certain amount of characters).
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}} ===
=== <span id="ra2"></span><span id="yr"></span>{{ra2}}, {{yr}} ===

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

List Of Available Actions

Section didn't exist, actions were specified inline in the [Triggers] section with only one action per trigger.

Red Alert, Counterstrike, Aftermath

List of Available Actions

Section didn't exist, actions were specified inline in the [Triggers] section with up to two actions per trigger.

Tiberian Sun, Firestorm

List of Available Actions

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

List of Available Actions

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

See Also