Description
Fires virtual mortar/artillery fire support.
Syntax
[target, ammo, radius, rounds, delay, conditionEnd, safezone, alt, speed, sounds] spawn BIS_fnc_fireSupportVirtual
Parameters:
target: Position, Object or String - target position, can be object, position or marker nameammo: String - (Optional, default "Sh_82mm_AMOS") ammunition to be used (if left empty,Sh_82mm_AMOSammunition will be used)radius: Number - (Optional, default 100) radius of target area in metersrounds: Number - (Optional, default 10) number of rounds to be fireddelay: Array or Number - (Optional, default 10) delay between roundsconditionEnd: Code - (Optional, default{ false }) condition to end bombardment before all rounds are firedsafezone: Number - (Optional, default 0) safezone radius - minimal distance from the target position where shells may be directed atalt: Number - (Optional, default 250) altitude where the shell will be createdspeed: Number - (Optional, default 150) descending velocity, in m/s. Default is 150, if you use flare as ammo, set it to lower value (1-5) to let it fall down slowlysounds: Array of Strings - (Optional, default [""]) sounds to be played on the incoming shell
Returns: Boolean - true if successful
Examples
Example 1
[BIS_Player, "Sh_82mm_AMOS", 100, 24, 10] spawn BIS_fnc_fireSupportVirtual;
Example 2
[[3600, 3600, 0], nil, 100, 24, 10] spawn BIS_fnc_fireSupportVirtual;
Example 3
[BIS_Player, nil, 100, 24, 10, {dayTime > 20}, 50] spawn BIS_fnc_fireSupportVirtual;
See also
BIS_fnc_fireSupport · BIS_fnc_fireSupportCluster · BIS_fnc_fire