mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
76e1aafb33
Co-authored-by: Björn Dahlgren <bjorn@dahlgren.io>
22 lines
520 B
Plaintext
22 lines
520 B
Plaintext
#include "script_component.hpp"
|
|
/*
|
|
* Author: commy2
|
|
*
|
|
* Public: No
|
|
*/
|
|
|
|
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
|