---
name: "BIS_fnc_wpArtillery"
type: function
status: ok
groups: ["Waypoints"]
arma3_since: "1.00"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/BIS_fnc_wpArtillery
revid: 328431
updated: 2022-07-13T16:00:51Z
---

# BIS_fnc_wpArtillery

*Function · Waypoints · Arma 3 v1.00*

## Description

Let group members fire artillery barrage on waypoint position. Units must have magazine type.

## Syntax

```sqf
[group, position, target, firedRounds, type] call BIS_fnc_wpArtillery
```

**Parameters:**

- `group`: [Group](../topics/Group.md)
- `position`: [Array](../topics/Array.md) format [Position](../topics/Position.md)
- `target`: [Object](../topics/Object.md) - (Optional, default [objNull](../commands/objNull.md)) ***unused parameter***
- `firedRounds`: [Number](../topics/Number.md) - (Optional, default 100) number of fired rounds
- `type`: [String](../topics/String.md) - (Optional, default "") magazine type to be used. If empty, first found magazine will be used

**Returns:** [Boolean](../topics/Boolean.md) - [true](../commands/true.md) when done

## Examples

### Example 1

```sqf
[group player, getMarkerPos "artilleryStrike", objNull, 30, "8Rnd_82mm_Mo_shells"] call BIS_fnc_wpArtillery;
```

## See also

[doArtilleryFire](../commands/doArtilleryFire.md) · [inRangeOfArtillery](../commands/inRangeOfArtillery.md)

<sub>Source: [BI Community Wiki — BIS fnc wpArtillery](https://community.bistudio.com/wiki/BIS_fnc_wpArtillery) (revision 328431).</sub>
