mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
add placeholder ZEN inventory dialog
This commit is contained in:
parent
022b760962
commit
c10ef054e2
@ -694,13 +694,18 @@ switch (GVAR(currentLeftPanel)) do {
|
|||||||
};
|
};
|
||||||
// Container
|
// Container
|
||||||
case IDC_buttonContainer: {
|
case IDC_buttonContainer: {
|
||||||
|
private _closeDialog = _item == "";
|
||||||
|
private _openDialog = _item != "" && {_item != GVAR(currentContainer) || (!dialog && _item == GVAR(currentContainer))};
|
||||||
|
if (dialog && _openDialog || _closeDialog) then {closeDialog 0};
|
||||||
|
if (_openDialog) then {
|
||||||
|
(GVAR(vehicleMap) get _item) call zen_inventory_fnc_configure; // placeholder
|
||||||
|
};
|
||||||
GVAR(currentContainer) = _item;
|
GVAR(currentContainer) = _item;
|
||||||
|
|
||||||
call FUNC(showItem);
|
call FUNC(showItem);
|
||||||
|
|
||||||
TOGGLE_RIGHT_PANEL_HIDE
|
TOGGLE_RIGHT_PANEL_HIDE
|
||||||
// call FUNC(openInventoryMenu);
|
[_display, _control, _curSel, configOf (GVAR(vehicleMap) getOrDefault [_item, objNull])] call FUNC(itemInfo);
|
||||||
[_display, _control, _curSel, configNull] call FUNC(itemInfo);
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user