BIS fnc setCuratorVisionModes: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "| Boolean " to "|r1= Boolean ")
m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *V([a-z ])" to "$1 - v$2")
 
(13 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{RV|type=function
{{RV|type=function


| arma3
|game1= arma3
 
|version1= 1.16
|1.16


|gr1= Curator
|gr1= Curator


|Set which vision modes curator can access.
|descr= Set which vision modes curator can access.


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


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


|p2=mode [[Array]] of [[Number|numbers]] - Vision modes, can be:
|p2=mode [[Array]] of [[Number]]s - vision modes, can be:
*-2 - NVG
*-2 - NVG
*-1 - Normal
*-1 - Normal
Line 20: Line 19:
|r1= [[Boolean]]
|r1= [[Boolean]]


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


|seealso= [[Arma 3: Curator]],[[curatorCamera]],[[setCamUseTi]]
|seealso= [[Arma 3: Curator]] [[curatorCamera]] [[setCamUseTi]]
}}
}}
[[Category:{{Name|arma3}}: Functions|{{uc:setCuratorVisionModes}}]]

Latest revision as of 15:53, 8 November 2023

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 - NVG
  • -1 - Normal
  • 0,1,.... - Thermal vision 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 or on the Forums.
Only post proven facts here! Add Note