mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
rename 'close' to 'try' in arsenal
This commit is contained in:
parent
4fb556d7ac
commit
057cc8d6d5
@ -18,6 +18,7 @@
|
||||
#define IDC_totalWeightText 801
|
||||
#define IDC_message 9
|
||||
#define IDC_menuBar 10
|
||||
#define IDC_menuBarClose 1001
|
||||
#define IDC_infoBox 11
|
||||
#define IDC_infoBackground 1101
|
||||
#define IDC_infoName 1102
|
||||
|
@ -60,6 +60,9 @@ cba_diagnostic_projectileMaxLines = 10;
|
||||
true
|
||||
};
|
||||
}];
|
||||
|
||||
private _buttonClose = _display displayCtrl IDC_menuBarClose;
|
||||
_buttonClose ctrlSetText localize "str_a3_rscdisplayarsenal_buttonok";
|
||||
} call CBA_fnc_execNextFrame;
|
||||
}] call CBA_fnc_addEventHandler;
|
||||
|
||||
|
@ -24,13 +24,13 @@ _target setSpeedMode "LIMITED";
|
||||
_target disableAI "TARGET";
|
||||
_target disableAI "AUTOTARGET";
|
||||
_target allowFleeing 0;
|
||||
_target setSpeaker "Base";
|
||||
_target setSpeaker "BASE";
|
||||
|
||||
[{
|
||||
params ["_target", "_time"];
|
||||
|
||||
if (speaker _target == "Base") exitWith {time > _time};
|
||||
_target setSpeaker "Base";
|
||||
if (speaker _target == "BASE") exitWith {time > _time};
|
||||
_target setSpeaker "BASE";
|
||||
false
|
||||
}, {}, [_target, time + 1]] call CBA_fnc_waitUntilAndExecute;
|
||||
|
||||
|
@ -197,7 +197,7 @@ class GVAR(display) {
|
||||
onButtonClick = QUOTE([ctrlparent (_this select 0)] call FUNC(buttonImport));
|
||||
};
|
||||
class buttonClose: ctrlButtonClose {
|
||||
idc = -1;
|
||||
idc = IDC_menuBarClose;
|
||||
colorBackground[] = {0,0,0,0.8};
|
||||
x = QUOTE(170 * GRID_W);
|
||||
y = QUOTE(0);
|
||||
|
Loading…
Reference in New Issue
Block a user