Jump to content

Recommended Posts

Posted

Hi all!

 

I have a question.

 

Scenario: I have one JTAC Reaper circling an area (three waypoints with switch waypoint on the last one). Say I command that Reaper (Combined Arms) to bomb a target, then that unit stops acting as a JTAC (I figure it is because I give it a new command via Combined Arms orders). Is there any way to get that unit back into what it was doing before I gave it new commands?

 

Cheers!

Posted

All commands via combined arms erase any previous tasking. With some scripting you could re-assign the default task as designated in the editor. For instance in mist the function getGroupRoute it searches the mission file for the relevant tasking data.

The right man in the wrong place makes all the difference in the world.

Current Projects:  Grayflag ServerScripting Wiki

Useful Links: Mission Scripting Tools MIST-(GitHub) MIST-(Thread)

 SLMOD, Wiki wishlist, Mission Editing Wiki!, Mission Building Forum

Posted

If the drone started in the air with all of its JTAC and orbit related tasking on the first waypoint, you could create an F10 Other radio menu item to run a script.

 

Easiest way to do it is to add a menu item to set a flag to true. Then do a trigger "Switched Conditon>flag true> do script and set flag false

 

In the do script box it'd be as easy as:

 

mist.goRoute('groupsName', mist.getGroupRoute('groupsName', true))

The right man in the wrong place makes all the difference in the world.

Current Projects:  Grayflag ServerScripting Wiki

Useful Links: Mission Scripting Tools MIST-(GitHub) MIST-(Thread)

 SLMOD, Wiki wishlist, Mission Editing Wiki!, Mission Building Forum

Posted

Thanks alot Grimes! Worked as expected :)

 

At first I didn't think it worked as the JTAC function did not kick in, but after the Predator had passed a waypoint (and thus activated the JTAC bit) everything was as it should be.

  • Recently Browsing   0 members

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