ACE3/addons/microdagr/functions/fnc_dialogClosedEH.sqf
2015-03-09 10:46:59 -05:00

25 lines
572 B
Plaintext

/*
* Author: PabstMirror
* Takes some arguments and returns something or other.
*
* Arguments:
* 0: The first argument <STRING>
* 1: The second argument <OBJECT>
* 2: Third Optional Argument <BOOL><OPTIONAL>
*
* Return Value:
* The return value <BOOL>
*
* Example:
* _bool = ["something", player] call ace_common_fnc_imanexample
*
* Public: Yes
*/
#include "script_component.hpp"
systemChat "Debug: dialog closed";
if (GVAR(currentShowMode) == 2) then {
[-1] call FUNC(saveCurrentAndSetNewMode);;
[DISPLAY_MODE_DISPLAY] call FUNC(openDisplay);
};