MIST getGroupTable

From DCS World Wiki - Hoggitworld.com
Revision as of 22:51, 7 July 2021 by Grimes (talk | contribs) (Created page with "{{Mission Scripting |fName= mist.getGroupTable |vNum = Mist 4.5 |desc= Returns a table in the format required to spawn the group. This function searches env.mission for the...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


mist.getGroupTable

Added with: Mist 4.5
Description
Returns a table in the format required to spawn the group. This function searches env.mission for the specified groupName.
Syntax
table mist.getGroupTable(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.getGroupTable('myGroup')
 mist.scheduleFunction(mist.dynAdd, {teleGroup}, timer.getTime() + 10, 3600)

end

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

Scripting Engine

MIST Root Page