SetAutoCaptureByName
Appearance
| 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 |
| AirB | The name of the airbase whose autocapture setting is to be modified. | |
| EnableCap | true 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: | ||