BIS fnc forceCuratorInterface: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " *\|= " to " ") |
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments \("local" or "global"\)|Multiplayer Effects \("local" or "global"\)|Multiplayer Execution \("server" o...) |
||
Line 1: | Line 1: | ||
{{Function | {{Function | ||
| arma3 | | arma3 | ||
|1.16 | |1.16 | ||
|gr1 = Curator | |gr1 = Curator | ||
| Force curator interface, so user cannot exit it by pressing Zeus key. | | Force curator interface, so user cannot exit it by pressing Zeus key. | ||
| [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]] | | [[Boolean]] | ||
|x1= <code>[ [[true]], [[true]] ] [[call]] [[BIS_fnc_forceCuratorInterface]];</code> | |x1= <code>[ [[true]], [[true]] ] [[call]] [[BIS_fnc_forceCuratorInterface]];</code> | ||
| [[Curator]] | | [[Curator]] | ||
}} | }} | ||
Revision as of 23:03, 17 January 2021
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:
- 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