This command can not fire bursts consisting of more rounds than the given magazine type holds, even if there are several magazines of the same type available. The fire mission issued by this command ends once the artillery unit has to reload.
Example:
The Mk6 Mortar comes with four "8Rnd_82mm_Mo_shells" magazines, giving it a total of 32 HE shells. However, _mortar doArtilleryFire [_somePos, "8Rnd_82mm_Mo_shells", 10]; will only fire 8 rounds instead of 10.
Similarly, ...
_mortardoArtilleryFire [_somePos, "8Rnd_82mm_Mo_shells", 7]; // First burstsleep20; // Wait until first burst has been fired_mortardoArtilleryFire [_somePos, "8Rnd_82mm_Mo_shells", 2]; // Second burst
... will only fire 8 rounds total instead of 9; the second round of the second burst is never fired because the artillery unit has to reload after the first round of the second burst.
Leopard20
After using this command, use unitReady to see if the unit is done firing all rounds:
_mortardoArtilleryFire [[3000, 120, 1000], "8Rnd_82mm_Mo_shells", 3];
waitUntil {sleep1; unitReady_mortar}; // Note: make sure you run this in scheduled environment_mortarsideChat"Rounds fired!";