Difference between revisions of "MIST goRoute"

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

Latest revision as of 23:01, 13 April 2018


mist.goRoute

Added with: Mist 2.0
Description
Function uses Controller.setTask using the table path to define the route and waypoint actions for the specified group.
Syntax
boolean mist.goRoute(table/string group/groupName ,table path )
Valid Input Values:
mist.goRoute('myGroup', path)

mist.goRoute(Group.getByName('myGroup'), path)

Return value:
boolean
Return example:
true
Usage Examples:

do

end

Notes:
Version 3.2 changed this function to return true if the group exists and it attempts to assign a route. It is impossible to know if a route is assigned.
Related Functions
General goRoute
Ground groupToPoint, groupToRandomZone, groupRandomDistSelf, groupToRandomPoint, buildWP(ground), patrol, patrolRoute
Fixed Wing buildWP(fixedWing)
Helicopter buildWP(helicopter)

Scripting Engine

MIST Root Page