SetAutoCapture
Appearance
| 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 |
| AirB | An airbase object, the name of an airbase, or its numeric ID. | |
| EnableCap | true 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: | ||