Jump to content

SetAutoCapture

From CMM Wiki
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: