Jump to content

MarkerDumpGroup

From CMM Wiki
Return to CMM Command Reference
Environment: Mission Scripting
Function: MarkerDumpGroup
Function Description: Dumps Group data to a file and notifies players of the operation, with message display tailored to single-player or multiplayer environments.
File Location: cmm.MapCommandFunctions.lua
Syntax: CMM.MarkerDumpGroup( table EventData , number UnitID )
Return Value: nil
Parameters: Name Description
EventDataCustom Event Table passed by S_EVENT_MARK_REMOVED EventHandler, contains pos field for position.
UnitIDID of the unit associated with the marker, used to target message display in multiplayer.
Example: CMM.MarkerDumpGroup({pos = <vec3>}, 123)
Example Description: Dumps Group data to a file at the nearest airbase and notifies the player or all players with a message indicating the file path.
Related Functions:
Notes: --TODO Function is incomplete