Jump to content

MarkerForceCapture

From CMM Wiki
Revision as of 14:16, 10 February 2026 by Ozdeadmeat (talk | contribs) (MarkerForceCapture – created via PowerShell script (2026-02-11T01:16:21Z))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Return to CMM Command Reference
Environment: Mission Scripting
Function: MarkerForceCapture
Function Description: Sets the closest Airbase to the desired coalition
File Location: cmm.MapCommandFunctions.lua
Syntax: CMM.MarkerForceCapture( table EventData )
Return Value: nil
Parameters: Name Description
EventDataS_EVENT_MARK_REMOVED Event Table containing initiator information and event context.
Example: CMM.MarkerForceCapture(EventData = {pos={x,y,z}, text = "!forcecap:red"})
Example Description: Will set the closest airbase to red coalition
Related Functions:
Notes: Map Command !forcecap --TODO Does not execute any side change code as the basecapture event does not trigger when a base is set to a coalition via the API