MIST getCurrentGroupData

From DCS World Wiki - Hoggitworld.com


mist.getCurrentGroupData

Added with: Mist 3.0
Description
Returns a table in the format required to spawn the group with the specified groupName. Each units current position and orientation will be returned. Dead units will be ignored. Skill level will be randomized.
Syntax
table mist.getCurrentGroupData(string groupName )
Valid Input Values:
group = 'myGroup'
Return value:
table
Return example:
nothing
Usage Examples:

do

 local teleGroup = mist.getCurrentGroupData('myGroup')
 mist.teleportInZome('myGroup', 'myZone')

end

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

Scripting Engine

MIST Root Page