Jump to content

DCS scripting function WPT related


CougarFFW04

Recommended Posts

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

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

@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

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

AdvancedWaypoint.thumb.jpg.5aa5fa84149dd70e90cb89ab471f72a4.jpg


Edited 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

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...