BIS fnc setCuratorVisionModes: Difference between revisions

From Bohemia Interactive Community
m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *V([a-z ])" to "$1 - v$2")
m (Some wiki formatting)
 
Line 8: Line 8:
|descr= Set which vision modes curator can access.
|descr= Set which vision modes curator can access.


|s1= [curator,mode] call [[BIS_fnc_setCuratorVisionModes]]
|s1= [curator, mode] call [[BIS_fnc_setCuratorVisionModes]]


|p1=curator [[Object]]
|p1= curator: [[Object]]


|p2=mode [[Array]] of [[Number]]s - vision modes, can be:
|p2= mode: [[Array]] of [[Number]]s - vision modes, can be:
*-2 - NVG
* -2 - Night vision mode
*-1 - Normal
* -1 - Normal mode
*0,1,.... - Thermal vision see [[setCamUseTi]] for detailed information
* 0, 1, ... - Thermal vision mode - see [[setCamUseTi]] for detailed information


|r1= [[Boolean]]
|r1= [[Boolean]]


|x1= <sqf>[BIS_curator,[-1,-2]] call BIS_fnc_setCuratorVisionModes;</sqf>
|x1= <sqf>[BIS_curator, [-1, -2]] call BIS_fnc_setCuratorVisionModes;</sqf>


|seealso= [[Arma 3: Curator]] [[curatorCamera]] [[setCamUseTi]]
|seealso= [[Arma 3: Curator]] [[curatorCamera]] [[setCamUseTi]]
}}
}}

Latest revision as of 22:24, 22 February 2026

Hover & click on the images for description

Description

Description:
Set which vision modes curator can access.
Execution:
call
Groups:
Curator

Syntax

Syntax:
[curator, mode] call BIS_fnc_setCuratorVisionModes
Parameters:
curator: Object
mode: Array of Numbers - vision modes, can be:
  • -2 - Night vision mode
  • -1 - Normal mode
  • 0, 1, ... - Thermal vision mode - see setCamUseTi for detailed information
Return Value:
Boolean

Examples

Example 1:
[BIS_curator, [-1, -2]] call BIS_fnc_setCuratorVisionModes;

Additional Information

See also:
Arma 3: Curator curatorCamera setCamUseTi

Notes

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