|Task:||RTB on Out of Ammo||Added with: 1.2.4|
|Hierarchy:||Scripting Root > Tasks > Option > RTB on Out of Ammo|
|Description:||Option that forces an AI aircraft to RTB once it is out of a certain type of ammo.
Once the ammo has reach 0% on the aircraft, it will RTB
|Format:||All options have an option ID and Value. For more information see the article on the AI enumerator.
Option Identifier: 10
|Enumerators:||RTB_ON_OUT_OF_AMMO = 10
weaponType is a number associated with a correspond weapons flags
|Notes:||See article Mission Editor: AI Tasking for more information on how AI tasking is handled within DCS.|
|Task List:||Main Tasks: mission, AttackGroup, AttackUnit, Bombing, CarpetBombing, AttackMapObject, BombingRunway, orbit, refueling, land, follow, followBigFormation, escort, Embarking, fireAtPoint, hold, FAC_AttackGroup, EmbarkToTransport, DisembarkFromTransport, CargoTransportation, goToWaypoint
Options: ROE, Reaction To Threat, Radar Using, Flare Using, Formation, RTB On Bingo, silence, Disperse on Attack, Alarm State, RTB on Out of Ammo, ECM Using, Prohibit AA, Prohibit Jettison, Prohibit Afterburner, Prohibit AG, Missile Attack Range, Prohibit WP Pass Report, Engage Air Weapons