Description
Mortar/artillery fire support.
Syntax
[arty,target,mag,radius,rounds,delay,conditionEnd,safezone] spawn BIS_fnc_fireSupport
Parameters:
arty: Object - artillery unit.target: Position or Object or String - target position, can be object/position 3D or marker namemag: String - magazine (if left empy, first magazine available will be used)radius: Number - radius of target area in metersrounds: Number - number of rounds to be fireddelay: Array or Number - delay between rounds:conditionEnd: Code - condition to end bombardment before all rounds are firedsafezone: Number - safezone radius - minimal distance from the target position where shells may be directed at
Returns: Boolean - true if successful
Examples
Example 1
[BIS_Mortar, [3600,3600,0], "", 100, 24, 10] spawn BIS_fnc_fireSupport;
Example 2
[BIS_Mortar, BIS_Player, "8Rnd_82mm_Mo_shells", 100, 24, 10] spawn BIS_fnc_fireSupport;
Example 3
[BIS_Mortar, "BIS_mrkTargetArea", "8Rnd_82mm_Mo_shells", 100, 24, 10, { BIS_Player distance BIS_EscapeZone < 100 }] spawn BIS_fnc_fireSupport;
See also
BIS_fnc_fireSupportCluster · BIS_fnc_fire · BIS_fnc_fireSupportVirtual