Difference between revisions of "MIST getCurrentGroupData"

From DCS World Wiki - Hoggitworld.com
 
(No difference)

Latest revision as of 22:54, 13 April 2018


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, getGroupTable getGroupPoints, getGroupRoute, getLeadPos, getAvgPos, getPayload, getGroupPayload, randomizeGroupOrder, groupIsDead

Scripting Engine

MIST Root Page