Difference between revisions of "DCS func autoCapture"

From DCS World Wiki - Hoggitworld.com
(Created page with "{{Template:dcs_funcs |fName= autoCapture |vNum= 2.8.8 |par1= Airbase |par2= |par3= |par4= |desc= Enables or disables the airbase and FARP auto c...")
(No difference)

Revision as of 17:11, 16 August 2023

Scripting Root

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