MIST getGroupData

From DCS World Wiki - Hoggitworld.com


mist.getGroupData

Added with: Mist 3.0
Description
Returns a table in the format required to spawn the group. This function searches mist.DBs.groupsByName for the specified groupName.
Syntax
table mist.getGroupData(string groupName )
Valid Input Values:
group = 'myGroup'
Return value:
table
Return example:
TBA
Usage Examples:
Respawns a group (manually) every 60 minutes.

do

 local teleGroup = mist.getGroupData('myGroup')
 mist.scheduleFunction(mist.dynAdd, {teleGroup}, timer.getTime() + 10, 3600)

end

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

Scripting Engine

MIST Root Page