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...")
 
 
Line 30: Line 30:
  
 
|reqName2= setting
 
|reqName2= setting
 +
 +
|reqType3=
  
 
|optType1=
 
|optType1=

Latest 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 )
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: