jonipetteri 11 Posted May 7, 2019 Hi guys! I've placed down a unit in the editor and gave it some move waypoints. Going to activate first with trigger. Is there a way to give, lets say five pre-defined locations for second waypoint and randomly choose one of those? Also, I'm going to add some playMoveNow code to that waypoint... Thanks. Share this post Link to post Share on other sites
gc8 978 Posted May 7, 2019 Well if you want random waypoint position you could use list of markers _wppos = getMarkerPos (selectRandom ["wp1","wp2","wp3"]); where wp1 etc are markers placed in the editor. And _wppos variable is the random pos 1 Share this post Link to post Share on other sites
jonipetteri 11 Posted May 7, 2019 12 minutes ago, gc8 said: _wppos = getMarkerPos (selectRandom ["wp1","wp2","wp3"]); Thank you, sir. Share this post Link to post Share on other sites