BIS fnc setCuratorVisionModes: Difference between revisions

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


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


| arma3 |= Game name
|gr1= Curator


|1.00|= Game version
|descr= Set which vision modes curator can access.
____________________________________________________________________________________________


| <pre>/*
|s1= [curator,mode] call [[BIS_fnc_setCuratorVisionModes]]


Description:
|p1=curator [[Object]]
Set which vision modes curator can access
Supported modes are:
-2: NVG
-1: Normal
0,1,...: Thermal (number represents type, see SetCamUseTi scripting command)


Parameter(s):
|p2=mode [[Array]] of [[Number]]s - vision modes, can be:
0: OBJECT - curator
*-2 - NVG
1: ARRAY of NUMBERs
*-1 - Normal
*0,1,.... - Thermal vision see [[setCamUseTi]] for detailed information


Returns:
|r1= [[Boolean]]
BOOL
*/


</pre><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small> |= Description
|x1= <sqf>[BIS_curator,[-1,-2]] call BIS_fnc_setCuratorVisionModes;</sqf>
____________________________________________________________________________________________
 
| <!-- [] call [[BIS_fnc_setCuratorVisionModes]]; --> |= Syntax
 
|p1= |= Parameter 1
 
| |= Return value
____________________________________________________________________________________________
 
|x1= <code></code> |=
____________________________________________________________________________________________
 
| |= See also


|seealso= [[Arma 3: Curator]] [[curatorCamera]] [[setCamUseTi]]
}}
}}
<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: Curator|{{uc:setCuratorVisionModes}}]]
[[Category:Functions|{{uc:setCuratorVisionModes}}]]
[[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