{"name":"BIS_fnc_3DENFlashlight","operator":null,"title":"BIS fnc 3DENFlashlight","type":"function","url":"https://community.bistudio.com/wiki/BIS_fnc_3DENFlashlight","revid":349107,"updated":"2023-11-08T14:49:36Z","groups":["Eden Editor"],"status":"ok","replaced_by":[],"games":[{"game":"arma3","name":"Arma 3","version":"1.56"}],"since":{"game":"arma3","name":"Arma 3","version":"1.56"},"arma3_since":"1.56","branch":null,"locality":{"argument":null,"effect":null,"server_exec":false},"exec":null,"description":"Toggle or set Eden Editor flashlight (light source snapped to the camera).","syntaxes":[{"syntax":"mode call BIS_fnc_3DENFlashlight","since":null,"effect":null,"exec":null,"params":[{"name":"mode","type":"Number","optional":false,"default":null,"description":"can be:\n- -2: restore the current mode\n- -1: toggle mode\n-  0: off\n-  1: on","types":["Number"],"since":null,"text":"mode: Number - can be:\n- -2: restore the current mode\n- -1: toggle mode\n-  0: off\n-  1: on"}],"returns":{"type":"Number","types":["Number"],"description":"selected mode","text":"Number - selected mode"}}],"examples":[{"text":"```sqf\nprivate _mode = 0 call BIS_fnc_3DENFlashlight;\n```","code":["private _mode = 0 call BIS_fnc_3DENFlashlight;"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["BIS_fnc_3DENCamera","BIS_fnc_3DENControlsHint","BIS_fnc_3DENDiagCreateList","BIS_fnc_3DENDiagFonts","BIS_fnc_3DENDiagMouseControl","BIS_fnc_3DENDrawLocations","BIS_fnc_3DENEntityMenu","BIS_fnc_3DENExportAttributes","BIS_fnc_3DENExportOldSQM","BIS_fnc_3DENExportTerrainBuilder","BIS_fnc_3DENGrid","BIS_fnc_3DENIntel","BIS_fnc_3DENInterface","BIS_fnc_3DENListLocations","BIS_fnc_3DENMissionPreview","BIS_fnc_3DENModuleDescription","BIS_fnc_3DENShowMessage","BIS_fnc_3DENStatusBar","BIS_fnc_3DENToolbar","BIS_fnc_3DENTutorial","BIS_fnc_3DENVisionMode"],"notes":[],"categories":["Arma 3: Functions","Arma 3: New Functions","Function Group: Eden Editor","Functions","Introduced with Arma 3 version 1.56"],"docblock":null,"filled_from_docblock":[]}