Difference between revisions of "DCS func getAmmo"
From DCS World Wiki - Hoggitworld.com
m (1 revision imported) |
|||
| (One intermediate revision by the same user not shown) | |||
| Line 3: | Line 3: | ||
|fName= getAmmo | |fName= getAmmo | ||
| − | |vNum= 1.2. | + | |vNum= 1.2.4 |
|par1= [[DCS_Class_Unit|Unit]] | |par1= [[DCS_Class_Unit|Unit]] | ||
| 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 | ||
| Line 88: | Line 90: | ||
}} | }} | ||
[[Category:Class Functions|getAmmo]] | [[Category:Class Functions|getAmmo]] | ||
| + | [[Category:Game Patch 1.2.4|getAmmo]] | ||
