Jump to content

SetAutoCaptureByName

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