{"name":"BIS_fnc_wpArtillery","title":"BIS fnc wpArtillery","type":"function","url":"https://community.bistudio.com/wiki/BIS_fnc_wpArtillery","revid":328431,"updated":"2022-07-13T16:00:51Z","groups":["Waypoints"],"status":"ok","games":{"arma3":"1.00"},"since":"arma3 1.00","arma3_since":"1.00","description":"Let group members fire artillery barrage on waypoint position. Units must have magazine type.","syntaxes":[{"syntax":"[group, position, target, firedRounds, type] call BIS_fnc_wpArtillery","params":[{"name":"group","type":"Group","type_expr":"Group"},{"name":"position","type":"Array format Position","type_expr":"Position","types":["Array","Position"]},{"name":"target","type":"Object","optional":true,"default":"objNull","description":"***unused parameter***","type_expr":"Object","text":"target: Object - (Optional, default objNull) ***unused parameter***"},{"name":"firedRounds","type":"Number","optional":true,"default":"100","description":"number of fired rounds","type_expr":"Number","text":"firedRounds: Number - (Optional, default 100) number of fired rounds"},{"name":"type","type":"String","optional":true,"default":"\"\"","description":"magazine type to be used. If empty, first found magazine will be used","type_expr":"String","text":"type: String - (Optional, default \"\") magazine type to be used. If empty, first found magazine will be used"}],"returns":{"type":"Boolean","type_expr":"Boolean","description":"true when done"}}],"examples":[{"code":["[group player, getMarkerPos \"artilleryStrike\", objNull, 30, \"8Rnd_82mm_Mo_shells\"] call BIS_fnc_wpArtillery;"]}],"see_also":["doArtilleryFire","inRangeOfArtillery"]}