BIS_fnc_sceneIntruderDetector
- Arma 3 v0.50
- First in Arma 2 v1.00
Function · Markdown · JSON · original wiki page
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
BIS_sceneIntruderDetectorLogic setVariable ["_detectInProgress", false];
Syntax
[sceneCenter, triggerSize] call BIS_fnc_sceneIntruderDetector
Parameters:
-
sceneCenter: Array - (Optional, default position player) center position of scene -
triggerSize: Array - (Optional, default [60,60]) trigger size as array in format:0: Number - Size A
1: Number - Size B
Returns: Nothing
Examples
Example 1
[[1337,1337,0],[42,42]] call BIS_fnc_sceneCreateSceneTrigger;
See also
BIS_fnc_sceneCreateSoundEntities · BIS_fnc_sceneRotate · BIS_fnc_sceneSetBehaviour · BIS_fnc_sceneGetObjects