2015-09-05 10:49:23 +00:00
|
|
|
/*
|
|
|
|
* Author: joko // Jonas
|
|
|
|
* Handle medical menu closed
|
|
|
|
*
|
|
|
|
* Arguments:
|
|
|
|
* None
|
|
|
|
*
|
|
|
|
* Return Value:
|
|
|
|
* None
|
|
|
|
*
|
|
|
|
* Example:
|
2015-10-13 07:01:59 +00:00
|
|
|
* call ace_medical_menu_fnc_onMenuClosed
|
2015-09-05 10:49:23 +00:00
|
|
|
*
|
|
|
|
* Public: No
|
|
|
|
*/
|
|
|
|
#include "script_component.hpp"
|
|
|
|
|
|
|
|
if (EGVAR(interact_menu,menuBackground)==1) then {[QGVAR(id), false] call EFUNC(common,blurScreen);};
|
|
|
|
if (EGVAR(interact_menu,menuBackground)==2) then {(uiNamespace getVariable [QEGVAR(interact_menu,menuBackground), displayNull]) closeDisplay 0;};
|
|
|
|
|
|
|
|
[GVAR(MenuPFHID)] call CBA_fnc_removePerFrameHandler;
|
2015-10-13 07:01:59 +00:00
|
|
|
GVAR(MenuPFHID) = -1;
|