{"name":"BIS_fnc_fireSupportCluster","title":"BIS fnc fireSupportCluster","type":"function","url":"https://community.bistudio.com/wiki/BIS_fnc_fireSupportCluster","revid":348400,"updated":"2023-11-08T13:00:03Z","groups":["Supports"],"status":"ok","games":{"arma3":"1.00"},"since":"arma3 1.00","arma3_since":"1.00","exec":"spawn","description":"Virtual fire support - cluster shell.","syntaxes":[{"syntax":"[position,ammo,radius,rounds,delay,conditionEnd,safezone,altitude,velocity,sounds] spawn BIS_fnc_fireSupportCluster","params":[{"name":"position","type":"Position, Object or String","description":"can be position, an object, or a marker","type_expr":"Position | Object | String"},{"name":"ammo","type":"String","optional":true,"default":"\"G_40mm_HEDP\"","description":"ammunition class, nil or empty string to use 40mm HEDP shells","type_expr":"String","text":"ammo: String - (Optional, default \"G_40mm_HEDP\") ammunition class, nil or empty string to use 40mm HEDP shells"},{"name":"radius","type":"Number","optional":true,"default":"100","description":"radius of the area in metres","type_expr":"Number","text":"radius: Number - (Optional, default 100) radius of the area in metres"},{"name":"rounds","type":"Array","optional":true,"default":"[1,20]","description":"number of rounds to be fired, can be:\n\n- 0: Number of shells\n- 1: Number of submunition","type_expr":"Array","text":"rounds: Array - (Optional, default [1,20]) number of rounds to be fired, can be:\n\n- 0: Number of shells\n- 1: Number of submunition"},{"name":"delay","type":"Array or Number","optional":true,"default":"10","description":"delay between rounds in seconds, can be Number for precise delay or Array to set min and max delay","type_expr":"Array | Number","text":"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 delay"},{"name":"conditionEnd","type":"Code","optional":true,"default":"{}","description":"condition to end fire support","type_expr":"Code","text":"conditionEnd: Code - (Optional, default {}) condition to end fire support"},{"name":"safeZone","type":"Number","optional":true,"default":"0","description":"safezone radius in metres","type_expr":"Number","text":"safeZone: Number - (Optional, default 0) safezone radius in metres"},{"name":"altitude","type":"Number","optional":true,"default":"100","description":"altitude in metres where the submunition will be spawned","type_expr":"Number","text":"altitude: Number - (Optional, default 100) altitude in metres where the submunition will be spawned"},{"name":"velocity","type":"Number","optional":true,"default":"100","description":"descending velocity, in m/s","type_expr":"Number","text":"velocity: Number - (Optional, default 100) descending velocity, in m/s"},{"name":"sounds","type":"Array","optional":true,"default":"[\"\"]","description":"strings of sounds to be played on the incoming submunition","type_expr":"Array","text":"sounds: Array - (Optional, default [\"\"]) strings of sounds to be played on the incoming submunition"}],"returns":{"type":"Boolean","type_expr":"Boolean"}}],"examples":[{"code":["[BIS_Player, \"G_40mm_HEDP\", 100, [4,10], 10] spawn BIS_fnc_fireSupportCluster;"]},{"code":["[BIS_Victim,\"G_40mm_HEDP\", 100, [5,25], 10, { dayTime > 20 }, 75, 500, 150, [\"shell1\", \"shell2\"]] spawn BIS_fnc_fireSupportCluster;"]},{"code":["[\"BIS_mrkTargetArea\", \"\", 100, [4,10], 10, { BIS_Player distance BIS_EscapeZone < 100 }] spawn BIS_fnc_fireSupportCluster;"]}],"see_also":["BIS_fnc_fireSupport","BIS_fnc_fireSupportVirtual"]}