{"name":"BIS_fnc_fireSupportVirtual","operator":null,"title":"BIS fnc fireSupportVirtual","type":"function","url":"https://community.bistudio.com/wiki/BIS_fnc_fireSupportVirtual","revid":349184,"updated":"2023-11-08T14:50:39Z","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":"Fires virtual mortar/artillery fire support.","syntaxes":[{"syntax":"[target, ammo, radius, rounds, delay, conditionEnd, safezone, alt, speed, sounds] spawn BIS_fnc_fireSupportVirtual","since":null,"effect":null,"exec":null,"params":[{"name":"target","type":"Position, Object or String","optional":false,"default":null,"description":"target position, can be object, position or marker name","types":["Position","Object","String"],"since":null,"text":"target: Position, Object or String - target position, can be object, position or marker name"},{"name":"ammo","type":"String","optional":true,"default":"\"Sh_82mm_AMOS\"","description":"ammunition to be used (if left empty, `Sh_82mm_AMOS` ammunition will be used)","types":["String"],"since":null,"text":"ammo: String - (Optional, default \"Sh_82mm_AMOS\") ammunition to be used (if left empty, `Sh_82mm_AMOS` ammunition will be used)"},{"name":"radius","type":"Number","optional":true,"default":"100","description":"radius of target area in meters","types":["Number"],"since":null,"text":"radius: Number - (Optional, default 100) radius of target area in meters"},{"name":"rounds","type":"Number","optional":true,"default":"10","description":"number of rounds to be fired","types":["Number"],"since":null,"text":"rounds: Number - (Optional, default 10) number of rounds to be fired"},{"name":"delay","type":"Array or Number","optional":true,"default":"10","description":"delay between rounds\n- Array [min, max]:\n  - min: Number - min delay\n  - max: Number - max delay\n- Number - Precise delay","types":["Array","Number"],"since":null,"text":"delay: Array or Number - (Optional, default 10) delay between rounds\n- Array [min, max]:\n  - min: Number - min delay\n  - max: Number - max delay\n- Number - Precise delay"},{"name":"conditionEnd","type":"Code","optional":true,"default":"`{ false }`","description":"condition to end bombardment before all rounds are fired","types":["Code"],"since":null,"text":"conditionEnd: Code - (Optional, default `{ false }`) condition to end bombardment before all rounds are fired"},{"name":"safezone","type":"Number","optional":true,"default":"0","description":"safezone radius - minimal distance from the target position where shells may be directed at","types":["Number"],"since":null,"text":"safezone: Number - (Optional, default 0) safezone radius - minimal distance from the target position where shells may be directed at"},{"name":"alt","type":"Number","optional":true,"default":"250","description":"altitude where the shell will be created","types":["Number"],"since":null,"text":"alt: Number - (Optional, default 250) altitude where the shell will be created"},{"name":"speed","type":"Number","optional":true,"default":"150","description":"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 slowly","types":["Number"],"since":null,"text":"speed: 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 slowly"},{"name":"sounds","type":"Array of Strings","optional":true,"default":"[\"\"]","description":"sounds to be played on the incoming shell","types":["Array","String"],"since":null,"text":"sounds: Array of Strings - (Optional, default [\"\"]) sounds to be played on the incoming shell"}],"returns":{"type":"Boolean","types":["Boolean"],"description":"true if successful","text":"Boolean - true if successful"}}],"examples":[{"text":"```sqf\n[BIS_Player, \"Sh_82mm_AMOS\", 100, 24, 10] spawn BIS_fnc_fireSupportVirtual;\n```","code":["[BIS_Player, \"Sh_82mm_AMOS\", 100, 24, 10] spawn BIS_fnc_fireSupportVirtual;"]},{"text":"```sqf\n[[3600, 3600, 0], nil, 100, 24, 10] spawn BIS_fnc_fireSupportVirtual;\n```","code":["[[3600, 3600, 0], nil, 100, 24, 10] spawn BIS_fnc_fireSupportVirtual;"]},{"text":"```sqf\n[BIS_Player, nil, 100, 24, 10, {dayTime > 20}, 50] spawn BIS_fnc_fireSupportVirtual;\n```","code":["[BIS_Player, nil, 100, 24, 10, {dayTime > 20}, 50] spawn BIS_fnc_fireSupportVirtual;"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["BIS_fnc_fireSupport","BIS_fnc_fireSupportCluster","BIS_fnc_fire"],"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":[]}