thetrooper 10 Posted January 30, 2016 Haveing difficulty with this one. Basically what's in the title. Set a waypoint where there's a marker, set the type, in my case it's loiter with range of 500m, behavoir is never fire and altitude 'High Altitude 500m'. Thanks in advance Share this post Link to post Share on other sites
thetrooper 10 Posted January 30, 2016 ok everyone. this is what I have got however, how do i set the altitude??? greywp1 = greyGrp1 addWaypoint [markerPos "greywp1", 10]; [greyGrp1, 1] setWPPos markerPos "greywp1"; [greyGrp1, 1] setWaypointType "LOITER"; [greyGrp1, 1] setWaypointCombatMode "BLUE"; [greyGrp1, 1] setWaypointLoiterRadius 500; Share this post Link to post Share on other sites
f2k sel 161 Posted January 30, 2016 This may work [greyGrp1, 1] setWaypointStatements ["true", "vehicle this flyinheight 500"]; Share this post Link to post Share on other sites
thetrooper 10 Posted January 30, 2016 mmm, just tried this. didn't work. When i go to UAV terminal all the other settings are set (highlighted in orange) except altitude Share this post Link to post Share on other sites
f2k sel 161 Posted January 30, 2016 I just tested and it didn't work, I'm not convinced setWaypointType "LOITER"; is valid as there is also setWaypointLoiterType "CIRCLE"; If you use that the height works but then the drone flies a figure 8 not a circle. greywp1 = greyGrp1 addWaypoint [markerPos "greywp1", 10]; [greyGrp1, 1] setWPPos markerPos "greywp1"; [greyGrp1, 1] setWaypointLoiterType "CIRCLE"; [greyGrp1, 1] setWaypointCombatMode "BLUE"; [greyGrp1, 1] setWaypointLoiterRadius 500; [greyGrp1, 1] setWaypointStatements ["true", "vehicle this flyinheight 500;"]; Doesn't make sense to me. Share this post Link to post Share on other sites
thetrooper 10 Posted January 31, 2016 "CIRCLE" may work better I haven't tested that yet. There must be some sort of function like setWaypointCombatMode "BLUE" that sets the height for the UAV to fly at Share this post Link to post Share on other sites