This function allows you to use artillery fire with mortars.
Example, _null = [unit, "target", radius, rounds, firing cycles, delay, shell] spawn ETR_fnc_artillery;
1. Unit, Name of Artillery Unit.
2. Target, A named marker.
3. Radius, Maximum range from marker that shells can land
4. Rounds, Number of rounds to fire at the same time.
5. Firing Cycles, How many times the artillery fires the number of shells defined by rounds above.
6. Delay, Time after firing that the artillery fires again.
7. Shell, An integer which determines which shell type from the Artillery Units loaded magazine will be fired. (default 0)
e.g. For the RHS 'Podnos' 0 = HE (default), 1 = Flare , 2 = Smoke.
For the RHS 'D30' 0 = HE (default), 1 = Smoke , 2 = Flare.
For the RHS 'Howitzer' 0 = HE (default), 1 = Flare , 2 = Smoke.
For the RHS 'M252' 0 = HE (default), 1 = Flare , 2 = Smoke.
For other classes of Artillery you may need to experiment).
_null = [arty, "Artillery1", 20, 3, 2, 20, 2] spawn ETR_fnc_artillery;