Difference between revisions of "DCS func getAmmo"
From DCS World Wiki - Hoggitworld.com
Line 14: | Line 14: | ||
|desc= Returns an ammo table for all types of loaded ammunition on a given object. Ammo table is indexed by ammo type and contains a weapon description table and a count variable defining "how much" is on board. | |desc= Returns an ammo table for all types of loaded ammunition on a given object. Ammo table is indexed by ammo type and contains a weapon description table and a count variable defining "how much" is on board. | ||
+ | |||
+ | Note that for aircraft this function only returns ammo. It does not return non-ammo items like targeting pods, external fuel tanks, or any other non ammo item that can be mounted via the re-arm menu. | ||
|rtnType= table | |rtnType= table |