{"name":"BIS_fnc_sceneIntruderDetector","title":"BIS fnc sceneIntruderDetector","type":"function","url":"https://community.bistudio.com/wiki/BIS_fnc_sceneIntruderDetector","revid":348144,"updated":"2023-11-08T11:32:40Z","groups":["Scenes"],"status":"ok","games":{"arma2":"1.00","arma2oa":"1.50","tkoh":"1.00","arma3":"0.50"},"since":"arma2 1.00","arma3_since":"0.50","description":"Checks if there are intruders during scene. All intruders during scene will be disabled if they\n\n```\n  will get into the detector trigger. Checking is deactivated by passing\n```\n\n```sqf\nBIS_sceneIntruderDetectorLogic setVariable [\"_detectInProgress\", false];\n```","syntaxes":[{"syntax":"[sceneCenter, triggerSize] call BIS_fnc_sceneIntruderDetector","params":[{"name":"sceneCenter","type":"Array","optional":true,"default":"position player","description":"center position of scene","type_expr":"Array","text":"sceneCenter: Array - (Optional, default position player) center position of scene"},{"name":"triggerSize","type":"Array","optional":true,"default":"[60,60]","description":"trigger size as array in format:\n0: Number - Size A\n1: Number - Size B","type_expr":"Array","text":"triggerSize: Array - (Optional, default [60,60]) trigger size as array in format:\n0: Number - Size A\n1: Number - Size B"}],"returns":{"type":"Nothing","type_expr":"Nothing"}}],"examples":[{"code":["[[1337,1337,0],[42,42]] call BIS_fnc_sceneCreateSceneTrigger;"]}],"see_also":["BIS_fnc_sceneCreateSoundEntities","BIS_fnc_sceneRotate","BIS_fnc_sceneSetBehaviour","BIS_fnc_sceneGetObjects"]}