Jump to content
Sign in to follow this  
thetrooper

set UAV waypoint and set type/behavior/altitude

Recommended Posts

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

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

This may work

[greyGrp1, 1] setWaypointStatements ["true", "vehicle this flyinheight 500"];

Share this post


Link to post
Share on other sites

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

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

"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

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×