BIS fnc forceCuratorInterface: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " " to " ")
m (Text replacement - ">\[ +(.*) *\] +(call|spawn)" to ">[$1] $2")
 
(15 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{RV|type=function
{{RV|type=function


| arma3
|game1= arma3
|version1= 1.16


|1.16
|gr1= Curator


|gr1 = Curator
|descr= Force curator interface, so user cannot exit it by pressing Zeus key.


| Force curator interface, so user cannot exit it by pressing Zeus key.
|s1= [mode, waitUntil] call [[BIS_fnc_forceCuratorInterface]]
 
| [mode, waitUntil] call [[BIS_fnc_forceCuratorInterface]]


|p1= mode: [[Boolean]] - [[true]] to force
|p1= mode: [[Boolean]] - [[true]] to force
|p2= waitUntil: [[Boolean]] - (Optional, default [[false]]) - [[true]] to keep trying until the interface is actually opened
|p2= waitUntil: [[Boolean]] - (Optional, default [[false]]) - [[true]] to keep trying until the interface is actually opened


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


|x1= <code>[ [[true]], [[true]] ] [[call]] [[BIS_fnc_forceCuratorInterface]];</code>
|x1= <sqf>[true, true] call BIS_fnc_forceCuratorInterface;</sqf>


| [[Curator]]
|seealso= [[Arma 3: Curator]]
}}
}}
[[Category:Functions|{{uc:forceCuratorInterface}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:forceCuratorInterface}}]]

Latest revision as of 17:27, 8 November 2023

Hover & click on the images for description

Description

Description:
Force curator interface, so user cannot exit it by pressing Zeus key.
Execution:
call
Groups:
Curator

Syntax

Syntax:
[mode, waitUntil] call BIS_fnc_forceCuratorInterface
Parameters:
mode: Boolean - true to force
waitUntil: Boolean - (Optional, default false) - true to keep trying until the interface is actually opened
Return Value:
Boolean

Examples

Example 1:
[true, true] call BIS_fnc_forceCuratorInterface;

Additional Information

See also:
Arma 3: Curator

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