Jump to content

GroundGroupMoveTo

From CMM Wiki
Return to CMM Command Reference
Environment: Mission Scripting
Function: GroundGroupMoveTo
Function Description: Moves a ground group to a specified destination by building an optimal road route and assigning it as the group's new mission.
File Location: cmm.DCSFunctions.lua
Syntax: CMM.GroundGroupMoveTo( table or string Grp , table dest )
Return Value:
Parameters: Name Description
GrpGroup table or Group name string
destDestination point (vec3) – must contain x, y and z
Example: CMM.GroundGroupMoveTo("AlphaSquad", {x = 12345, y = 67890, z = 0})
Example Description: Builds a road route from the group's current position to the given point and updates the group’s mission.
Related Functions:
Notes: