ACE3/addons/arsenal/missions/Arsenal.VR/fn_onPauseScript.sqf

17 lines
439 B
Plaintext
Raw Normal View History

#include "script_component.hpp"
2017-12-22 08:39:01 +00:00
params ["_display"];
private _ctrlButtonAbort = _display displayCtrl 104;
_ctrlButtonAbort ctrlSetText localize LSTRING(Mission);
_ctrlButtonAbort ctrlSetEventHandler [
"ButtonClick", {
params ["_control"];
ctrlParent _control closeDisplay 2;
["Open", true] spawn (uiNamespace getVariable "bis_fnc_arsenal"); //@todo
true
} call EFUNC(common,codeToString)
2017-12-22 08:39:01 +00:00
];
true