Actions on Units

This subgroup includes actions that allow you to create, delete, and modify the characteristics of units and groups of units.
Change the color of the units (transfer the selected units from the player "name 1" to the player "name2"). Dedicated units of the first player are repainted and will now belong to the second player. After this action, the allocation from the units will be lost.
Allow the production of units / buildings (allow the production of the unit "type" for the player "name"). A certain player will be able to build these units, if previously the type of these units was prohibited by the action "Prohibit the production of units / buildings." To build units of any nation, the player must own buildings that allow the building of these units.
Prohibit the production of units / buildings (to prohibit the production of the unit "type" for the player "name"). It prohibits the construction of units of a certain type for the specified player.
Kill the selected units (kill the dedicated player's "name" units). The selected units of the specified player will die the same as if the player pressed the "Delete" key.
Remove selected units. (to remove the allocated units of the player "name"). By this action, the selected units will disappear from the map without the animation of death.
Build units and add them to the dynamic group. (Build the "type" unit in the "name 1" group building and add "name 2" to the dynamic group). In each building that is in the "name 1" group, start building one unit specified in the "type". "Type" is a type of unit (for example, a pikeman of the 18 century). After the unit is built, the "2 name" dynamic group is added to the dynamic group. The speed of building units is the same as specified in the information window. Therefore, units will be added to the dynamic group after a while. To speed up the construction of the unit, use the command "Make a quick build of units and add to the dynamic group." It is undesirable that in the group "name 1" there are buildings that can not produce a unit of the specified type.
Do a quick construction of the unit and add it to the dynamic group. (make a quick construction of the "type" unit in the "name 1" group building and add "name 2" to the dynamic group). In each building located in the group "name 1" run a quick construction of one unit specified in the "type." "Type" is a type of unit, for example: a pikeman of the 18 century. After the unit is built, the "2 name" dynamic group is added to the dynamic group. The speed of building units is significantly increased, compared with the information in the window. Constructing units at a normal speed is performed by the command Build Build Units and add them to the dynamic group. It is undesirable that in the group "name 1" there are buildings that can not produce a unit of the specified type.
Create a formation of units and record in a dynamic group. (create "type" units for the player "name 1" in the "name 2" formation, place in the "nameNUMX" zone in the direction of "number" and write "name3" to the dynamic group). For the player "name 4", create the units specified in the "type". "Type" is a type of unit, for example: a pikeman of the 1 century. The number of units and the build is specified in the "name 18". Arrange the units in the "name 2" zone and rotate them to the "number" direction. The contents of the dynamic group "name 3" will be cleared and the created units will be added to it. This action creates both units and already built buildings. To create a building blank, use the Create Unit action and add it to the dynamic group. The workpiece can be completed with the repair / build up the selected peasants building from the group. If on this map there is not a single unit of any nation, you can not create units of this nation by this action. To add a nation to the map, use the map editor. Buildings are already built.
Create a unit and add it to the dynamic group. (create a "type" unit for the player "name 1" in the "name 2" zone and write "name 3" to the dynamic group). Creates one unit specified in the "type", which
will belong to the player "name 1" and is in the zone. Units will be added to the dynamic group. For buildings, this action creates a workpiece that can be completed by the Repair / Build team of selected peasants building from the group. If on this map there is not a single unit of any nation, units of this nation will not be created by this action. To add a nation to the map, use the map editor. Buildings are already built.
The allocated units of the player should be written to the dynamic group (the selected units of the player "name 1" should be written to the dynamic group "name 2" with the "replacement / addition" of the former units). Transfer selected units of a specific player to the specified dynamic group. If the action was performed with the "replace" parameter, then the units that were listed in this group before the action is executed will no longer be counted in it.
Units from one dynamic group transfer to another dynamic group (units from the dynamic group "name 1" add to the dynamic group "name 2" units). The action combines units from two dynamic groups. The resulting group will be written to the second parameter. The group specified as the first parameter will become an empty group, without a single unit.

4 comment

  1. Excuse me, I understand that you are not a machine, I just stay with them and wait for an answer, No, something like: If they approach the zone, then the message comes out and the units (Russian spearman) attack at once the crowd. And not as usual (not yet will fall into the field of view) I'm trying to do so that they are a crowd immediately attachili, not by turns. Ok, I'll write 17 about when access will be.

  2. What should I do if I: I allocate units, I order them to attack the player if they enter the zone?

    1. And they do not attack, but attack in turn, as if they were not given the command to attack.

    2. I do not have time to respond to your comments. No idea, to be honest. You, it turns out you are sending a group of units into the zone with the parameter "killing, on your way"? Sorry, but I just did not open the script editor for years, 5 probably.

Add a comment

Your e-mail will not be published. Required fields are marked *

This site uses Akismet to combat spam. Learn how your comment data is processed.