MIST getGroupRoute

From DCS World Wiki - Hoggitworld.com


mist.getGroupRoute

Added with: Mist 2.0
Description
Returns a table of the necessary data that defines the default route of group named groupName as set in the mission editor. Similar to mist.getGroupPoints but returns a table with additional values for group formation, speed, altitude, and altitude type. If task is true the function will get all task actions assigned to the route.
Syntax
table mist.getGroupRoute(string groupName , boolean task )
Valid Input Values:
group = 'myGroup'
Return value:
table
Return example:
exampleRoute
Usage Examples:
Sets group 2 to go on the same route as group 1.

 do
   mist.goRoute('myGroup2', mist.getGroupRoute('myGroup1')) 
 end

Notes:
Related Functions
getGroupData, getCurrentGroupData, getGroupTable getGroupPoints, getGroupRoute, getLeadPos, getAvgPos, getPayload, getGroupPayload, randomizeGroupOrder, groupIsDead

Scripting Engine

MIST Root Page