2018-07-30 09:22:14 +00:00
|
|
|
#include "script_component.hpp"
|
2016-07-15 10:23:26 +00:00
|
|
|
/*
|
|
|
|
* Author: joko // Jonas
|
|
|
|
* Handle medical menu closed
|
|
|
|
*
|
|
|
|
* Arguments:
|
|
|
|
* None
|
|
|
|
*
|
|
|
|
* Return Value:
|
|
|
|
* None
|
|
|
|
*
|
|
|
|
* Example:
|
|
|
|
* call ace_medical_menu_fnc_onMenuClosed
|
|
|
|
*
|
|
|
|
* Public: No
|
|
|
|
*/
|
|
|
|
|
|
|
|
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;
|
|
|
|
GVAR(MenuPFHID) = -1;
|