Jump to content

Recommended Posts

Posted (edited)

Hello, good evening.

 

I'm attempting to search in scripting for all of the tasks that are available to certain aircraft. For example, a main task role in the ME is CAS for the A-10, but CAP is a main task role that cannot be selected.  Therefore in a list I would like to build, it would say, 

 

roles = {
  ["A-10C"] = "CAS", "AFAC", "Anti-Ship Strike" ...etc
  ["F-15C"] = "CAP", "Escort" ...etc
  }

 

But I want to make sure that the main roles are correct and I need a place to reference that before I can put these into my custom tables. I could clearly do it by looking at each individual aircraft in the mission editor, but that is extraordinarily time consuming. Is anyone familiar with such a more efficient way?

Edited by ghostsp3ctre

Flanker CFI - 107th JAS

TTI Frontlines Developer - Through the Inferno

Through the Inferno Discord - Check it out

Coordinator - Thursday Night Throwdown

Posted

Its in each data base file for a given object type. The ones stored in Coremods are still accessible but they hid everything from Scripts/Database/. 

 

For instance with the Harrier it has the following that is used to define its tasks. 

 

	Tasks = {
        aircraft_task(GroundAttack),
		aircraft_task(PinpointStrike),
        aircraft_task(CAS),
        aircraft_task(AFAC),
		aircraft_task(RunwayAttack),
		aircraft_task(AntishipStrike),
		aircraft_task(SEAD),
		aircraft_task(Escort),
    },

 

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

  • Recently Browsing   0 members

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