Jump to content

SetAutoCapture

From CMM Wiki
Revision as of 10:05, 11 November 2025 by Ozdeadmeat (talk | contribs) (SetAutoCapture – created via PowerShell script (2025-11-11T21:05:55Z))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Return to CMM Command Reference
Environment: Mission Scripting
Function: SetAutoCapture
Function Description:
File Location: cmm.AirBaseFunctions.lua
Syntax: CMM.SetAutoCapture( table AirB , boolean EnableCap )
Return Value: nil
Parameters: Name Description
AirBAn airbase object, the name of an airbase, or its numeric ID.
EnableCaptrue to enable automatic capture, false (or omitted) to disable it. Defaults to false.
Example: CMM.SetAutoCapture("Akrotiri", true)
Example Description: Enables automatic capture for the airbase named “Akrotiri” and writes an info log entry.
Related Functions:
Notes: