{"name":"openCuratorInterface","title":"openCuratorInterface","type":"command","url":"https://community.bistudio.com/wiki/openCuratorInterface","revid":321434,"updated":"2022-05-14T14:17:08Z","groups":["Curator"],"status":"ok","games":{"arma3":"1.16"},"since":"arma3 1.16","arma3_since":"1.16","locality":{"effect":"local"},"description":"Force opens curator interface.","syntaxes":[{"syntax":"openCuratorInterface","params":[],"returns":{"type":"Nothing","type_expr":"Nothing"},"form":"nullary"}],"examples":[{"text":"Open interface:\n\n```sqf\nopenCuratorInterface;\n```","code":["openCuratorInterface;"]},{"text":"Close interface:\n\n```sqf\nfindDisplay 312 closeDisplay 2;\n```","code":["findDisplay 312 closeDisplay 2;"]},{"text":"Detect if user used \"Zeus\" key to open curator interface in the absence of event handler for it:\n\n```sqf\nfindDisplay 46 displayAddEventHandler [\"KeyDown\", {\n    if (inputAction \"CuratorInterface\" > 0) then\n    {\n        hint \"Curator interface is open\";\n    };\n    false\n}];\n```","code":["findDisplay 46 displayAddEventHandler [\"KeyDown\", {\n\tif (inputAction \"CuratorInterface\" > 0) then\n\t{\n\t\thint \"Curator interface is open\";\n\t};\n\tfalse\n}];"]}],"see_also":["Arma 3: Curator"]}