DCS func autoCapture

From DCS World Wiki - Hoggitworld.com

Scripting Root

Envrioment: Mission Scripting
Function: autoCapture Added with: 2.8.8
Member Of: Airbase
Syntax: nothing Airbase.autoCapture(Class Self , boolean setting )
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, getRadioSilentMode, setRadioSilentMode, autoCapture, autoCaptureIsOn, setCoalition, getWarehouse,
Notes: