thetrooper 10 Posted March 6, 2014 I've seen a couple of complicated code for group waypoints. I got a singe spawned unit, trying to get him to move. Looking at the wiki, but this doesn't seem to work? ///Waypoint 1 [en3_1Grp, 1] setWPPos markerPos "en3_wp1"; [en3_1Grp, 1] setWaypointSpeed "LIMITED"; [en3_1Grp, 1] setWaypointType "MOVE"; ///Waypoint 2 [en3_1Grp, 2] setWPPos markerPos "en3_wp2"; [en3_1Grp, 2] setWaypointSpeed "LIMITED"; [en3_1Grp, 2] setWaypointType "MOVE"; ///Waypoint 3 [en3_1Grp, 3] setWPPos markerPos "en3_wp3"; [en3_1Grp, 3] setWaypointSpeed "LIMITED"; [en3_1Grp, 3] setWaypointType "CYCLE"; Share this post Link to post Share on other sites
f2k sel 164 Posted March 6, 2014 You need to add a waypoint first. ///Waypoint 1 wp1 = en3_1Grp addWaypoint [markerPos "en3_wp1", 10]; [en3_1Grp, 1] setWPPos markerPos "en3_wp1"; [en3_1Grp, 1] setWaypointSpeed "LIMITED"; [en3_1Grp, 1] setWaypointType "MOVE"; ///Waypoint 2 wp2 = en3_1Grp addWaypoint [markerPos "en3_wp2", 10]; [en3_1Grp, 2] setWPPos markerPos "en3_wp2"; [en3_1Grp, 2] setWaypointSpeed "LIMITED"; [en3_1Grp, 2] setWaypointType "MOVE"; ///Waypoint 3 wp3 = en3_1Grp addWaypoint [markerPos "en3_wp3", 10]; [en3_1Grp, 3] setWPPos markerPos "en3_wp3"; [en3_1Grp, 3] setWaypointSpeed "LIMITED"; [en3_1Grp, 3] setWaypointType "CYCLE"; but as your using dostop en3_1; in your previous code it won't move. you need to remove that command Share this post Link to post Share on other sites