Action Description

Basic The subgroup actions were described in detail in the "Trigger" section. Inserted condition block. (inserted condition block). Verifies a certain condition within the section and, depending on its performance or non-performance, runs a corresponding action. Activate current trigger. (activate current trigger). Due to this action, an activated trigger will remain active.

Flags and Timers This subgroup contains actions for changing the condition of flags and timers. Set timer. (set timer "name" for "integer" ticks). Indicating the time by ticks, this action sets the timer. With every inner tick, the program takes away one unit from the amount of time indicated. As soon as it equals zero, the condition "Timer has snapped into action" will be met. Turn flag on. (turn flag "name" on). Switches an indicated flag on. Turn flag off. (turn flag "name" off). Switches an indicated flag off.

Players Change relations between players. (change "relations" between players). Set relations between players. This will not affect the behaviour of computer players, i.e. players for whom the "Give control to computer player" action has already been performed. To make it affect computer players, run this action before the AI is started.

Computer Player Give control to computer player. (launch "intelligence" AI for player "name". Difficulty level: "difficulty". Territory type: "relief". Resources: "funds". Minerals: "resources"). This action launches the AI if the player defined with the "name" parameter possesses peasants.In order for the computer player to develop correctly, you should set start parameters. "Difficulty" specifies the computer player's aggressiveness. "Relief" tells the computer whether there is water on the map and whether it is possible to get to the enemy base overland or if transport is required. "Funds" specifies the initial resources the AI possesses. "Resources" indicates the amount of mines near its base. Don’t use selected units by computer player. (don’t use selected units by computer player "name"). If a mission creator wants to help the computer player to control the units of its colour, then, firstly, he must select these units with the action from the "Select Units" subgroup and perform this action. Also, you should indicate the colour of the computer player in the player "name" parameter.

Select Units With units selected, you can perform various actions. Some actions are to be carried out with selected units only. You can select units either by changing a previous selection or adding them to the previous one. If you change a previous selection, it will be lost. If you add units to a selection, you will retain the previous selection and have another one made at the same time. Remember, players select their units and give them orders during the game. A selection made by a player can be used by a scenario. Select all units of group. (select all units of group "name" by "changing/adding" previous selection). As a result of this action, units of a given group will be selected, regardless of which player they belong to. Select player’s group units. (select units  of player "name1" of group "name2" by "changing/adding" previous selection). This action affects units of a certain group that belong to a certain player. Select player’s units in zone. (select units of player "name1"  in zone "name2" by "changing/adding" previous selection). Selects units located within a certain area and belonging to a certain player. Select player’s units of a certain type in zone. (select "type" units of player "name1" in zone "name2" by "changing/adding" previous selection). Selects units of a certain type located in a certain zone and belonging to a certain player. Select units of a certain type by player. (select "type" units of player "name" by "changing/adding" previous selection). Selects units of a certain type belonging to a certain player. Deselect player units. (deselect units of player "name"). Deselects units of a given player. No unit of a given player will be selected after this action.

Unit Operations This subgroup contains actions for creating, removing and changing characteristics of units or their groups. Change unit colour. (transfer selected units from player "name1" to player "name2"). Selected units of a player will change colour and be shifted to the latter player’s possession. As a result, the units will be deselected. Enable production of units/buildings. (enable production of "unit type " units for "player" player). A certain player will again be able to create indicated units which have previously been restricted with the "Disable production of units/buildings" action. In order to produce units of any nation, a player must possess buildings where these units are produced. Disable production of units/buildings. (disable production of "type " units for player "name"). Disables production of a certain type of units for an indicated player. Carry out unit building and add to dynamic group. (carry out "type" unit building in structure of group "name1" and add to dynamic group "name2"). In every building of group "name1", launch production of one unit, specified as "type". "type" is a kind of unit, e.g. the 18th c. pikeman. When built, units are added to the dynamic group "name2". The speed of unit production is the same as specified in the information window. That is why it will take some time for units to be added to a dynamic group. To speed up unit production, use the "Carry out fast unit building and add to dynamic group" command. It is undesirable for group "name1" to contain buildings which cannot produce units of the specified type. Carry out fast unit building and add to dynamic group. (carry out fast "type" unit building in structure of group "name1" and add to dynamic group "name2"). Launch quick production of one unit specified as "type" in every building within group "name1". "type" is a kind of unit, e.g. the 18th c. pikeman. When built, units are added to dynamic group "name2". The speed of unit production is considerably higher compared to that set in the information window. Unit production with normal speed is carried out by using the "Carry out unit building and add to dynamic group" command. It is undesirable for group "name1" to contain buildings which cannot produce units of the specified type. Create units in formation and assign to dynamic group. (create "type" units in formation "name1" for player "name2", place it in zone "name3" in direction "integer" and assign to dynamic group "name4"). For player "name2", create units specified as "type". "type" is a kind of unit, e.g. the 18th c. pikeman. The number of units and formations are indicated in "name1". Place units in zone "name3" and turn them in direction "integer". The contents of dynamic group "name4" will be cleared and the created units will be added to it. This action creates units, as well as ready-made buildings. To create a building foundation, use the "Create unit and add to dynamic group" action. A foundation can be constructed with the "Repair/build up group buildings with peasants selected" action. If this map does not contain a single unit of any nation, units of this nation are not created with this action. To add a nation to the map, use the map editor. Buildings are created as ready-made. Create unit and add to dynamic group. (create "type" unit for player "name1" in zone "name2" and assign to dynamic group "name3"). Creates one unit, set in "type", to belong to player "name1" and be located in zone "name2". Units will be added to a dynamic group. For buildings, this action creates a foundation which can be built with the "Repair/build up group buildings with peasants selected" command. Use the map editor to add a new nation to the map. Buildings are created as ready-made.  Save player’s selected units to dynamic group. (save selected units of player "name1" to dynamic group "name2" by "changing/adding" previous units). Saves selected units of a certain player to an indicated dynamic group. If the action is performed by "changing", units which belonged to this group before the action will no longer belong to it. Transfer units from one dynamic group to another one. (add units of dynamic group "name1" to units of dynamic group "name2"). Combines units of two dynamic groups. The group created will be saved into the second parameter. The group indicated as a first parameter will be empty with no units in it. Kill selected units. (kill selected units of player "name"). Selected units of an indicated player die as if "Delete" had been pressed. Remove units selected. (remove selected units of player "name"). Allows you to remove units from the map without death animation.