OFPEC Forum
Editors Depot - Mission Editing and Scripting => ArmA - Editing/Scripting General => Topic started by: NightJay0044 on 19 Mar 2009, 21:05:10
-
Hi, how do you get a whole group to get a certain position? I don't know the code..
I tried this;
"_x domove "GetPos1" foreach units group1"
but that doesn't work, what's the correct syntax?
Thanks..
-
The following would serve to move the units to the position of the player (have added brackets for clarity).
{ _x doMove (getPos player); } forEach (units group1)
However, it's usually far better to just give the group leader a new waypoint, instead.
-
thanks....now I can do what I need to in the mission..... :)