This command can be useful in a mission for restricting the number of mortars/darter UAVs/any-weapon-that-gets-disassembled present on the battlefield.
In my mission I use the "vehicles" and "allDead" commands to track how many vehicles of a given type exist in the mission (players can create vehicles dynamically in this mission). This way I can force only a restricted number of attack helicopters/ dangerous vehicles on the battlefield for game balance and would like to do the same for backpack-transported weapons/UAVs/etc
.
The command should return all backpack objects: those that are on soldiers' back, in vehicle inventory, on ground, in ammo boxes, etc