How do I issue a "doMove" command to a group that is spawned?
Here's an example
"SoldierWB" createunit [getpos spawn1,group1]
~1
"SoldierWB" createunit [getpos spawn1,group1]
~1
"SoldierWB" createunit [getpos spawn2,group1]
~1
"SoldierWB" createunit [getpos spawn2,group2]
~1
"SoldierWB" createunit [getpos spawn2,group2]
~1
"SoldierWB" createunit [getpos spawn2,group2]
The group spawns. And at their position of spawning I place a trigger that does this:
[group1] doMove getMarkerPos "WP1"; [group2] doMove getMarkerPos "WP1";
What happens? well the first spawn in each group move to the maker, the rest of them just stand there like bafoons.
I tried to put a delay on the trigger, but that din't help.
Please help.