Jump to content

MarkerRemoveGroup

From CMM Wiki
Return to CMM Command Reference
Environment: Mission Scripting
Function: MarkerRemoveGroup
Function Description: Removes a group nearest to the marker position of a given coaltion if provided
File Location: cmm.MapCommandFunctions.lua
Syntax: CMM.MarkerRemoveGroup( table EventData )
Return Value: nil
Parameters: Name Description
EventDataS_EVENT_MARK_REMOVED Event Table containing position, text, and initiator data; used to determine coalition, side, and group name to remove.
Example: CMM.MarkerRemoveGroup({pos = <vec3>, text = "Remove: blue")
Example Description: Processes a marker removal event a BLUE side group at positions, reports the name of the group removed to the executer of the command.
Related Functions:
Notes: