BIS fnc 3DENVisionMode: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (removed duplicated parameter)
Line 2: Line 2:
____________________________________________________________________________________________
____________________________________________________________________________________________


| arma3 |= Game name
| arma3 |Game name=


|1.56|= Game version
|1.56|Game version=
____________________________________________________________________________________________
____________________________________________________________________________________________


| Toggle or set [[Eden Editor]] vision mode. Has to be executed while Eden interface is opened. |= Description
| Toggle or set [[Eden Editor]] vision mode. Has to be executed while Eden interface is opened. |Description=
____________________________________________________________________________________________
____________________________________________________________________________________________


| mode call [[BIS_fnc_3DENVisionMode]] |= Syntax
| mode call [[BIS_fnc_3DENVisionMode]] |Syntax=


|p1= mode: [[Number]] - Can be:
|p1= mode: [[Number]] - Can be:
<br>-2: restore the current mode
* -2: restore the current mode
<br>-1: toggle mode
* -1: toggle mode
<br>0: Normal
* &nbsp;0: Normal
<br>1: Night vision
* &nbsp;1: Night vision
<br>2: Thermal|= Parameter 1
* &nbsp;2: Thermal
&nbsp;|Parameter 1=


|[[Number]] - Selected mode|= Return value
|[[Number]] - Selected mode|Return value=
____________________________________________________________________________________________
____________________________________________________________________________________________


|x1= <code>_mode = 0 [[call]] [[BIS_fnc_3DENVisionMode]];</code> |= Parameter 1
|x1= <code>_mode = 0 [[call]] [[BIS_fnc_3DENVisionMode]];</code> |Example 1=
____________________________________________________________________________________________
____________________________________________________________________________________________


|[[Eden Editor]]|= See also
|[[Eden Editor]]|See also=
}}
}}


Line 39: Line 40:
[[Category:Functions|{{uc:3DENVisionMode}}]]
[[Category:Functions|{{uc:3DENVisionMode}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:3DENVisionMode}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:3DENVisionMode}}]]
[[Category:Function_Group:_Eden_Editor]]

Revision as of 10:03, 28 May 2018

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:
Uncategorised

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:
_mode = 0 call BIS_fnc_3DENVisionMode;

Additional Information

See also:
Eden Editor

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

Notes

Bottom Section