BIS fnc 3DENVisionMode: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Generated by BIS_fnc_exportFunctionsToWiki)
 
m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *S([a-z ])" to "$1 - s$2")
 
(55 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{RV|type=function


{{Function|= Comments
|game1= arma3
____________________________________________________________________________________________
|version1= 1.56


| arma3 |= Game name
|gr1= Eden Editor


|1.00|= Game version
|descr= Toggle or set [[:Category:Eden Editor|Eden Editor]] vision mode. Has to be executed while Eden interface is opened.
____________________________________________________________________________________________


| <pre>/*
|s1= mode call [[BIS_fnc_3DENVisionMode]]
Author: Karel Moricky


Description:
|p1= mode: [[Number]] - can be:
Toggle or set 3DEN vision mode
* -2: restore the current mode
* -1: toggle mode
* &nbsp;0: Normal
* &nbsp;1: Night vision
* &nbsp;2: Thermal
&nbsp;


Parameter(s):
|r1= [[Number]] - selected mode
0: NUMBER - mode
-2: restore the current mode
-1: toggle mode
0: Normal
1: NVG
2: Thermal


Returns:
|x1= <sqf>private _mode = 0 call BIS_fnc_3DENVisionMode;</sqf>
NUMBER - selected mode
*/
 
</pre><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small> |= Description
____________________________________________________________________________________________
 
| <!-- [] call [[BIS_fnc_3DENVisionMode]]; --> |= Syntax
|p1= |= Parameter 1
 
| |= Return value
____________________________________________________________________________________________
 
|x1= <code></code> |=
____________________________________________________________________________________________
 
| |= See also


|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_3DENFlashlight]] [[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]]
}}
}}
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
<h3 style="display:none">Bottom Section</h3>
[[Category:Function Group: Default|{{uc:3DENVisionMode}}]]
[[Category:Functions|{{uc:3DENVisionMode}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:3DENVisionMode}}]]

Latest revision as of 16:49, 8 November 2023

Hover & click on the images for description

Description

Description:
Toggle or set Eden Editor vision mode. Has to be executed while Eden interface is opened.
Execution:
call
Groups:
Eden Editor

Syntax

Syntax:
mode call BIS_fnc_3DENVisionMode
Parameters:
mode: Number - can be:
  • -2: restore the current mode
  • -1: toggle mode
  •  0: Normal
  •  1: Night vision
  •  2: Thermal
 
Return Value:
Number - selected mode

Examples

Example 1:
private _mode = 0 call BIS_fnc_3DENVisionMode;

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_3DENFlashlight 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

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