{"name":"BIS_fnc_fireSupportCluster","operator":null,"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","replaced_by":[],"games":[{"game":"arma3","name":"Arma 3","version":"1.00"}],"since":{"game":"arma3","name":"Arma 3","version":"1.00"},"arma3_since":"1.00","branch":null,"locality":{"argument":null,"effect":null,"server_exec":false},"exec":"spawn","description":"Virtual fire support - cluster shell.","syntaxes":[{"syntax":"[position,ammo,radius,rounds,delay,conditionEnd,safezone,altitude,velocity,sounds] spawn BIS_fnc_fireSupportCluster","since":null,"effect":null,"exec":null,"params":[{"name":"position","type":"Position, Object or String","optional":false,"default":null,"description":"can be position, an object, or a marker","types":["Position","Object","String"],"since":null,"text":"position: Position, Object or String - can be position, an object, or a marker"},{"name":"ammo","type":"String","optional":true,"default":"\"G_40mm_HEDP\"","description":"ammunition class, nil or empty string to use 40mm HEDP shells","types":["String"],"since":null,"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","types":["Number"],"since":null,"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- 0: Number of shells\n- 1: Number of submunition","types":["Array"],"since":null,"text":"rounds: Array - (Optional, default [1,20]) number of rounds to be fired, can be:\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","types":["Array","Number"],"since":null,"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","types":["Code"],"since":null,"text":"conditionEnd: Code - (Optional, default {}) condition to end fire support"},{"name":"safeZone","type":"Number","optional":true,"default":"0","description":"safezone radius in metres","types":["Number"],"since":null,"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","types":["Number"],"since":null,"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","types":["Number"],"since":null,"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","types":["Array"],"since":null,"text":"sounds: Array - (Optional, default [\"\"]) strings of sounds to be played on the incoming submunition"}],"returns":{"type":"Boolean","types":["Boolean"],"description":null,"text":"Boolean"}}],"examples":[{"text":"```sqf\n[BIS_Player, \"G_40mm_HEDP\", 100, [4,10], 10] spawn BIS_fnc_fireSupportCluster;\n```","code":["[BIS_Player, \"G_40mm_HEDP\", 100, [4,10], 10] spawn BIS_fnc_fireSupportCluster;"]},{"text":"```sqf\n[BIS_Victim,\"G_40mm_HEDP\", 100, [5,25], 10, { dayTime > 20 }, 75, 500, 150, [\"shell1\", \"shell2\"]] spawn BIS_fnc_fireSupportCluster;\n```","code":["[BIS_Victim,\"G_40mm_HEDP\", 100, [5,25], 10, { dayTime > 20 }, 75, 500, 150, [\"shell1\", \"shell2\"]] spawn BIS_fnc_fireSupportCluster;"]},{"text":"```sqf\n[\"BIS_mrkTargetArea\", \"\", 100, [4,10], 10, { BIS_Player distance BIS_EscapeZone < 100 }] spawn BIS_fnc_fireSupportCluster;\n```","code":["[\"BIS_mrkTargetArea\", \"\", 100, [4,10], 10, { BIS_Player distance BIS_EscapeZone < 100 }] spawn BIS_fnc_fireSupportCluster;"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["BIS_fnc_fireSupport","BIS_fnc_fireSupportVirtual"],"notes":[],"categories":["Arma 3: Functions","Arma 3: New Functions","Function Group: Supports","Functions","Introduced with Arma 3 version 1.00"],"docblock":null,"filled_from_docblock":[]}