CougarFFW04 Posted January 19, 2020 Share Posted January 19, 2020 Hi everyone, There are many things that ca be done in the ME when a group reach a Waypoint... However in the scripting documentation I do not find anything related to waypoint manangement... Did I miss something ? Is there any usefull function available somewhere that would allow to do code what is feasable in the ME options related to waypoints ? Foe exemple is there a simple way to code that a flag goes to false when flight whatever reach waypoint whatever ? Thanks Link to comment Share on other sites More sharing options...
Hardcard Posted January 20, 2020 Share Posted January 20, 2020 You could extract the coordinates of the waypoint you're interested in, then write a coordinate distance check (which would go inside a scheduler) [sIGPIC][/sIGPIC] Link to comment Share on other sites More sharing options...
fargo007 Posted January 20, 2020 Share Posted January 20, 2020 Why swim upstream? Align the waypoint with a zone and just use the zone. Have fun. Don't suck. Kill bad guys. https://discord.gg/blacksharkden/ Link to comment Share on other sites More sharing options...
A101Wayz Posted January 20, 2020 Share Posted January 20, 2020 Here's how to set a task at a waypoint and 2 example tasks that can be set... https://wiki.hoggitworld.com/view/DCS_func_setTask Setting a Mission task: https://wiki.hoggitworld.com/view/DCS_task_mission Setting an Engage Group task: https://wiki.hoggitworld.com/view/DCS_task_engageGroup That should put you on the right track. Wayz Out Intel Core i9 9900K | ASUS ROG Strix Z390E Gaming MB | G.Skill Ripjaws V 32gb DDR4-3200 | GeForce RTX 2080 Ti | Samsung 970 EVO Plus NVMe HTC Vive Pro VR | Logitech G x56 HOTAS | Logitech G PRO Pedals Link to comment Share on other sites More sharing options...
Hardcard Posted January 21, 2020 Share Posted January 21, 2020 (edited) @fargo007 Because I hate ME zones with a passion :D Seriously now, they have their uses, but I prefer working with coordinates for several reasons. @A101Wayz The problem is that creating a Mission task table with the correct waypoints and format is a PITA. Edited January 21, 2020 by Hardcard [sIGPIC][/sIGPIC] Link to comment Share on other sites More sharing options...
A101Wayz Posted January 21, 2020 Share Posted January 21, 2020 @Hardcard Building a complete mission task table including waypoints would be a PITA. However, I thought the OP just wanted to add tasks to the waypoints. I'll post a few snippets later demonstrating how I accomplished this, relatively easily. (I used MOOSE, so I'll have to translate and test it, first) Wayz Out Intel Core i9 9900K | ASUS ROG Strix Z390E Gaming MB | G.Skill Ripjaws V 32gb DDR4-3200 | GeForce RTX 2080 Ti | Samsung 970 EVO Plus NVMe HTC Vive Pro VR | Logitech G x56 HOTAS | Logitech G PRO Pedals Link to comment Share on other sites More sharing options...
A101Wayz Posted January 21, 2020 Share Posted January 21, 2020 (edited) If all you are looking for is to set a flag at a waypoint, just create an advanced waypoint action at the necessary waypoint, and set it like in the picture. Note that the flag number (999) is quoted. This is necessary... In the attached example mission, when flag 999 goes true (when the AWACs reaches WP1), a message to all is generated, and a notation is output to the logfile using a standard ME test for the flag.WaypointTest.miz Edited January 21, 2020 by A101Wayz Wayz Out Intel Core i9 9900K | ASUS ROG Strix Z390E Gaming MB | G.Skill Ripjaws V 32gb DDR4-3200 | GeForce RTX 2080 Ti | Samsung 970 EVO Plus NVMe HTC Vive Pro VR | Logitech G x56 HOTAS | Logitech G PRO Pedals Link to comment Share on other sites More sharing options...
Recommended Posts