BIS fnc 3DENFlashlight: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " *\| *([Cc]omments|COMMENTS|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments \("local" or "global"\)|Multiplayer Effects \("local" or "global"\)|Multiplayer Execution \("server" o...)
m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *S([a-z ])" to "$1 - s$2")
 
(42 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Function
{{RV|type=function


| arma3
|game1= arma3
 
|version1= 1.56
|1.56


|gr1= Eden Editor
|gr1= Eden Editor


| Toggle or set [[Eden Editor]] flashlight (light source snapped to the camera).
|descr= Toggle or set [[:Category:Eden Editor|Eden Editor]] flashlight (light source snapped to the camera).


| mode call [[BIS_fnc_3DENFlashlight]]
|s1= mode call [[BIS_fnc_3DENFlashlight]]


|p1= mode: [[Number]] - Can be:
|p1= mode: [[Number]] - can be:
* -2: restore the current mode
* -2: restore the current mode
* -1: toggle mode
* -1: toggle mode
Line 18: Line 17:
 
 


|[[Number]] - Selected mode
|r1= [[Number]] - selected mode


|x1= <code>_mode = 0 [[call]] [[BIS_fnc_3DENFlashlight]];</code>
|x1= <sqf>private _mode = 0 call BIS_fnc_3DENFlashlight;</sqf>


|[[Eden Editor]],[[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]]
|seealso= [[:Category:Eden Editor|Eden Editor]] [[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]]
}}
}}
<h3 style="display:none">Bottom Section</h3>
[[Category:Functions|{{uc:3DENFlashlight}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:3DENFlashlight}}]]

Latest revision as of 15:49, 8 November 2023

Hover & click on the images for description

Description

Description:
Toggle or set Eden Editor flashlight (light source snapped to the camera).
Execution:
call
Groups:
Eden Editor

Syntax

Syntax:
mode call BIS_fnc_3DENFlashlight
Parameters:
mode: Number - can be:
  • -2: restore the current mode
  • -1: toggle mode
  •  0: off
  •  1: on
 
Return Value:
Number - selected mode

Examples

Example 1:
private _mode = 0 call BIS_fnc_3DENFlashlight;

Additional Information

See also:
Eden Editor 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

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note