| Envrioment:
|
Mission Scripting
|
|
|
| Function:
|
autoCapture
|
Added with: 2.8.8
|
|
|
| Member Of:
|
Airbase
|
| Syntax:
|
nothing Airbase.autoCapture(Class Self , boolean setting , {{{reqType3}}} {{{reqName3}}} , {{{reqType4}}} {{{reqName4}}} , {{{reqType5}}} {{{reqName5}}} , {{{reqType6}}} {{{reqName6}}} , {{{reqType7}}} {{{reqName7}}} , {{{reqType8}}} {{{reqName8}}} , {{{reqType9}}} {{{reqName9}}} , {{{reqType10}}} {{{reqName10}}} )
|
| Description:
|
Enables or disables the airbase and FARP auto capture game mechanic where ownership of a base can change based on the presence of ground forces or the default setting assigned in the editor.
true : enables autoCapture behavior
false : disables autoCapture behavior
|
|
|
| Return Value:
|
nothing
|
| Return Example:
|
|
|
|
| Examples:
|
|
| Related Functions:
|
Airbase Functions: getCallsign, getUnit, getID, getCategoryEx, getParking, getRunways, getTechObjectPos, getDispatcherTowerPos, getRadioSilentMode, setRadioSilentMode, autoCapture, autoCaptureIsOn, setCoalition, getWarehouse,
|
| Notes:
|
|