{"name":"BIS_fnc_sceneIntruderDetector","operator":null,"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","replaced_by":[],"games":[{"game":"arma2","name":"Arma 2","version":"1.00"},{"game":"arma2oa","name":"Arma 2: Operation Arrowhead","version":"1.50"},{"game":"tkoh","name":"Take On Helicopters","version":"1.00"},{"game":"arma3","name":"Arma 3","version":"0.50"}],"since":{"game":"arma2","name":"Arma 2","version":"1.00"},"arma3_since":"0.50","branch":null,"locality":{"argument":null,"effect":null,"server_exec":false},"exec":null,"description":"Checks if there are intruders during scene. All intruders during scene will be disabled if they\n   will get into the detector trigger. Checking is deactivated by passing \n\n```sqf\nBIS_sceneIntruderDetectorLogic setVariable [\"_detectInProgress\", false];\n```","syntaxes":[{"syntax":"[sceneCenter, triggerSize] call BIS_fnc_sceneIntruderDetector","since":null,"effect":null,"exec":null,"params":[{"name":"sceneCenter","type":"Array","optional":true,"default":"position player","description":"center position of scene","types":["Array"],"since":null,"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:\n\n0: Number - Size A\n\n1: Number - Size B","types":["Array"],"since":null,"text":"triggerSize: Array - (Optional, default [60,60]) trigger size as array in format:\n\n0: Number - Size A\n\n1: Number - Size B"}],"returns":{"type":"Nothing","types":["Nothing"],"description":null,"text":"Nothing"}}],"examples":[{"text":"```sqf\n[[1337,1337,0],[42,42]] call BIS_fnc_sceneCreateSceneTrigger;\n```","code":["[[1337,1337,0],[42,42]] call BIS_fnc_sceneCreateSceneTrigger;"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["BIS_fnc_sceneCreateSoundEntities","BIS_fnc_sceneRotate","BIS_fnc_sceneSetBehaviour","BIS_fnc_sceneGetObjects"],"notes":[],"categories":["Arma 2: Functions","Arma 2: New Functions","Arma 2: Operation Arrowhead: Functions","Arma 3: Functions","Function Group: Scenes","Functions","Introduced with Arma 2 version 1.00","Take On Helicopters: Functions"],"docblock":null,"filled_from_docblock":[]}