mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
17 lines
479 B
Plaintext
17 lines
479 B
Plaintext
#include "script_component.hpp"
|
|
|
|
params ["_display"];
|
|
|
|
private _ctrlButtonAbort = _display displayCtrl 104;
|
|
_ctrlButtonAbort ctrlSetText localize LSTRING(Mission);
|
|
_ctrlButtonAbort ctrlSetTooltip localize LSTRING(ReturnToArsenal);
|
|
|
|
_ctrlButtonAbort ctrlSetEventHandler ["ButtonClick", {
|
|
params ["_control"];
|
|
ctrlParent _control closeDisplay 2;
|
|
{[player, player, true] call FUNC(openBox)} call CBA_fnc_execNextFrame;
|
|
true
|
|
} call EFUNC(common,codeToString)];
|
|
|
|
true
|