DCS func autoCapture

From DCS World Wiki - Hoggitworld.com
Revision as of 17:11, 16 August 2023 by Grimes (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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, getDispatcherTowerPos, getRadioSilentMode, setRadioSilentMode, autoCapture, autoCaptureIsOn, setCoalition, getWarehouse,
Notes: