openCuratorInterface: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments( \("local" or "global"\))?|Effects|Multiplayer Effects( \("local" or "global"\))?|Multiplayer Exe...) |
||
Line 1: | Line 1: | ||
{{Command | {{Command | ||
| arma3 | | arma3 | ||
|1.16 | |1.16 | ||
|gr1= Curator | |gr1= Curator | ||
| Force opens curator interface. | | Force opens curator interface. | ||
| '''openCuratorInterface''' | | '''openCuratorInterface''' | ||
| [[Nothing]] | | [[Nothing]] | ||
|x1= Open interface: <code>[[openCuratorInterface]];</code> | |x1= Open interface: <code>[[openCuratorInterface]];</code> | ||
|x2= Close interface: <code>[[findDisplay]] 312 [[closeDisplay]] 2;</code> | |x2= Close interface: <code>[[findDisplay]] 312 [[closeDisplay]] 2;</code> | ||
|x3= Detect if user used "Zeus" key to open curator interface in the absence of event handler for it: <code>[[findDisplay]] 46 [[displayAddEventHandler]] ["KeyDown", { | |x3= Detect if user used "Zeus" key to open curator interface in the absence of event handler for it: <code>[[findDisplay]] 46 [[displayAddEventHandler]] ["KeyDown", { | ||
if ([[inputAction]] "CuratorInterface" > 0) [[then]] { | if ([[inputAction]] "CuratorInterface" > 0) [[then]] { | ||
Line 20: | Line 20: | ||
}; | }; | ||
[[false]] | [[false]] | ||
}];</code> | }];</code> | ||
| [[Curator]] | | [[Curator]] | ||
| mp= Client side execution |MPBEHAVIOUR= | | mp= Client side execution |MPBEHAVIOUR= |
Revision as of 01:26, 18 January 2021
Description
- Description:
- Force opens curator interface.
- Multiplayer:
- Client side execution
- Groups:
- Curator
Syntax
- Syntax:
- openCuratorInterface
- Return Value:
- Nothing
Examples
- Example 1:
- Open interface:
openCuratorInterface;
- Example 2:
- Close interface:
findDisplay 312 closeDisplay 2;
- 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:
- 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