There is one location where units are, and there is other location to which those units are moved, when you need to choose them. This is trigger after u choose 1 of 3 units:
Bring(P7, Exactly, 2, AnyUnit, P1 CHOOSE UNITS);
KillUnitAt(All, AnyUnit, P1 CHOOSE UNITS, P7);
MoveUnit(1, AnyUnit, CurrentPlayer, RANDOM UNITS, UNIT 1 P1);
MoveUnit(1, AnyUnit, CurrentPlayer, RANDOM UNITS, UNIT 2 P1);
MoveUnit(1, AnyUnit, CurrentPlayer, RANDOM UNITS, UNIT 3 P1);
PreserveTrigger();
So...my problem is: as i know there are limitations for units, and to avoid useless killing of them i decided, to get them back to that random unit place where they are located, so instead of KillUnitsAt i tried to use MoveUnit command, like this:
MoveUnit(All, AnyUnit, P7, P1 CHOOSE UNITS, RANDOM UNITS RESET);
MoveUnit(1, AnyUnit, CurrentPlayer, RANDOM UNITS, UNIT 1 P1);
MoveUnit(1, AnyUnit, CurrentPlayer, RANDOM UNITS, UNIT 2 P1);
MoveUnit(1, AnyUnit, CurrentPlayer, RANDOM UNITS, UNIT 3 P1);
PreserveTrigger();
This command work till: those 2 units which are left after choosing, is moved to my location, BUT new units doesn't apear!!! WTF???? why with KillUnitsAt they appear after killing, and with MoveUnits command when they are moved back to start location, new units does not appear after they're moved?
If Anyone can help with this please reply thank you for your time
None.