openCuratorInterface: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \|s1=" to " |s1=")
m (Some wiki formatting)
Line 1: Line 1:
{{RV|type=command
{{RV|type=command


| arma3
|game1= arma3
|version1= 1.16


|1.16
|eff= local


|gr1= Curator
|gr1= Curator


| Force opens curator interface.
|descr= Force opens curator interface.


|s1= '''openCuratorInterface'''
|s1= [[openCuratorInterface]]


|r1= [[Nothing]]
|r1= [[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]]
{
[[hint]] "Curator interface is open";
[[hint]] "Curator interface is open";
};
};
Line 22: Line 26:
}];</code>
}];</code>


| [[Arma 3: Curator]]
|seealso= [[Arma 3: Curator]]
 
|mp= Client side execution
}}
}}

Revision as of 19:00, 13 June 2021

Hover & click on the images for description

Description

Description:
Force opens curator interface.
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:
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