openCuratorInterface: Difference between revisions
Jump to navigation
Jump to search
m (template:command argument fix) |
m (Replaced <code> with <sqf>) |
||
(31 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{RV|type=command | ||
| arma3 |= | |game1= arma3 | ||
|version1= 1.16 | |||
| | |eff= local | ||
| | |gr1= Curator | ||
| | |descr= Force opens curator interface. | ||
| [[ | |s1= [[openCuratorInterface]] | ||
| | |r1= [[Nothing]] | ||
| | |x1= Open interface: | ||
<sqf>openCuratorInterface;</sqf> | |||
| | |x2= Close interface: | ||
<sqf>findDisplay 312 closeDisplay 2;</sqf> | |||
|x3= Detect if user used "Zeus" key to open curator interface in the absence of event handler for it: | |||
<sqf> | |||
< | findDisplay 46 displayAddEventHandler ["KeyDown", { | ||
if (inputAction "CuratorInterface" > 0) then | |||
{ | |||
hint "Curator interface is open"; | |||
}; | |||
false | |||
}]; | |||
</sqf> | |||
|seealso= [[Arma 3: Curator]] | |||
}} | |||
[[ | |||
Latest revision as of 15:17, 14 May 2022
Description
- Description:
- Force opens curator interface.
- Groups:
- Curator
Syntax
- Syntax:
- openCuratorInterface
- Return Value:
- Nothing
Examples
- Example 1:
- Open interface:
openCuratorInterface;
- Example 2:
- Close interface:
- Example 3:
- Detect if user used "Zeus" key to open curator interface in the absence of event handler for it:
findDisplay 46 displayAddEventHandler ["KeyDown", { if (inputAction "CuratorInterface" > 0) then { hint "Curator interface is open"; }; false }];
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