---
name: "BIS_fnc_spotter"
type: function
status: ok
groups: ["Object Manipulation", "Combat"]
arma3_since: "0.50"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/BIS_fnc_spotter
revid: 341832
updated: 2023-06-28T09:26:11Z
---

# BIS_fnc_spotter

*Function · Object Manipulation, Combat · Arma 3 v0.50 · introduced in Arma 2: Operation Arrowhead v1.50*

Locality: executed with **spawn**

## Description

Make spotter report target distance to sniper. Will only stop if one of the two units dies.

## Syntax

```sqf
[sniper, spotter] spawn BIS_fnc_spotter
```

**Parameters:**

- `sniper`: [Object](../topics/Object.md) - sniper unit
- `spotter`: [Object](../topics/Object.md) - spotter unit

**Returns:** [Nothing](../topics/Nothing.md)

## Examples

### Example 1

```sqf
[player, spotter] spawn BIS_fnc_spotter;
```

<sub>Source: [BI Community Wiki — BIS fnc spotter](https://community.bistudio.com/wiki/BIS_fnc_spotter) (revision 341832).</sub>
