Antorugby 2 Posted April 27, 2014 Hello guys, I want to select every units in a set area around the player and make them move to the player, this is what I tried without luck: enemycrash= nearestObjects [player, ["MEN"], 1000]; {_x domove getpos player} forEach enemycrash; enemycrash= position player nearObjects ["MEN",1000]; {_x domove getpos player} forEach enemycrash; None of this is working, any help? Share this post Link to post Share on other sites
champ-1 40 Posted April 27, 2014 enemycrash = nearestObjects [player, ["CAManBase"], 1000]; { if (side _x == east) then { //waypoints here }; } forEach enemycrash; This should work. As for sending them to player, I think you will be better off using waypoints. Share this post Link to post Share on other sites
Antorugby 2 Posted April 27, 2014 Works like a charm! Thank you so much. Share this post Link to post Share on other sites