---
name: "BIS_fnc_sceneIntruderDetector"
type: function
status: ok
groups: ["Scenes"]
arma3_since: "0.50"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/BIS_fnc_sceneIntruderDetector
revid: 348144
updated: 2023-11-08T11:32:40Z
---

# BIS_fnc_sceneIntruderDetector

*Function · Scenes · Arma 3 v0.50 · introduced in Arma 2 v1.00*

## Description

Checks if there are intruders during scene. All intruders during scene will be disabled if they
   will get into the detector trigger. Checking is deactivated by passing 

```sqf
BIS_sceneIntruderDetectorLogic setVariable ["_detectInProgress", false];
```

## Syntax

```sqf
[sceneCenter, triggerSize] call BIS_fnc_sceneIntruderDetector
```

**Parameters:**

- `sceneCenter`: [Array](../topics/Array.md) - (Optional, default [position](../commands/position.md) [player](../commands/player.md)) center position of scene
- `triggerSize`: [Array](../topics/Array.md) - (Optional, default [60,60]) trigger size as array in format:

  0: Number - Size A

  1: Number - Size B

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

## Examples

### Example 1

```sqf
[[1337,1337,0],[42,42]] call BIS_fnc_sceneCreateSceneTrigger;
```

## See also

[BIS_fnc_sceneCreateSoundEntities](../functions/BIS_fnc_sceneCreateSoundEntities.md) · [BIS_fnc_sceneRotate](../functions/BIS_fnc_sceneRotate.md) · [BIS_fnc_sceneSetBehaviour](../functions/BIS_fnc_sceneSetBehaviour.md) · [BIS_fnc_sceneGetObjects](../functions/BIS_fnc_sceneGetObjects.md)

<sub>Source: [BI Community Wiki — BIS fnc sceneIntruderDetector](https://community.bistudio.com/wiki/BIS_fnc_sceneIntruderDetector) (revision 348144).</sub>
