Description
Virtual fire support - cluster shell.
Syntax
[position,ammo,radius,rounds,delay,conditionEnd,safezone,altitude,velocity,sounds] spawn BIS_fnc_fireSupportCluster
Parameters:
position: Position, Object or String - can be position, an object, or a markerammo: String - (Optional, default "G_40mm_HEDP") ammunition class, nil or empty string to use 40mm HEDP shellsradius: Number - (Optional, default 100) radius of the area in metresrounds: Array - (Optional, default [1,20]) number of rounds to be fired, can be:- 0: Number of shells
- 1: Number of submunition
delay: Array or Number - (Optional, default 10) delay between rounds in seconds, can be Number for precise delay or Array to set min and max delayconditionEnd: Code - (Optional, default {}) condition to end fire supportsafeZone: Number - (Optional, default 0) safezone radius in metresaltitude: Number - (Optional, default 100) altitude in metres where the submunition will be spawnedvelocity: Number - (Optional, default 100) descending velocity, in m/ssounds: Array - (Optional, default [""]) strings of sounds to be played on the incoming submunition
Returns: Boolean
Examples
Example 1
[BIS_Player, "G_40mm_HEDP", 100, [4,10], 10] spawn BIS_fnc_fireSupportCluster;
Example 2
[BIS_Victim,"G_40mm_HEDP", 100, [5,25], 10, { dayTime > 20 }, 75, 500, 150, ["shell1", "shell2"]] spawn BIS_fnc_fireSupportCluster;
Example 3
["BIS_mrkTargetArea", "", 100, [4,10], 10, { BIS_Player distance BIS_EscapeZone < 100 }] spawn BIS_fnc_fireSupportCluster;