mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
174841751c
* work on arsenal actions * cycle through pages * docs * cleanup * Update addons/gunbag/functions/fnc_weaponName.sqf Co-authored-by: Jouni Järvinen <rautamiekka@users.noreply.github.com> * missing fil * Update addons/arsenal/functions/fnc_itemInfo.sqf * Update addons/arsenal/functions/fnc_refresh.sqf Co-authored-by: Jouni Järvinen <rautamiekka@users.noreply.github.com> * remove CBA_loadoutSet gunbag cache * update fnc_refresh * Added unique item support for left panel items * Cleanup * fix 3den * add scopeEditor --------- Co-authored-by: Brett <brett@mayson.io> Co-authored-by: Jouni Järvinen <rautamiekka@users.noreply.github.com> Co-authored-by: Salluci <salluci.lovi@gmail.com> Co-authored-by: Grim <69561145+LinkIsGrim@users.noreply.github.com>
25 lines
613 B
Plaintext
25 lines
613 B
Plaintext
#include "script_component.hpp"
|
|
#include "..\defines.hpp"
|
|
/*
|
|
* Author: Brett Mayson, johnb43
|
|
* Refreshes the arsenal to show external changes.
|
|
*
|
|
* Return Value:
|
|
* None
|
|
*
|
|
* Public: No
|
|
*/
|
|
|
|
// Update current item list
|
|
call FUNC(updateCurrentItemsList);
|
|
|
|
// This takes care of unique inventory items (arsenal doesn't have it whitelisted)
|
|
call FUNC(updateUniqueItemsList);
|
|
|
|
// Don't refresh left panel if in loadout tab
|
|
if (!isNull findDisplay IDD_loadouts_display) exitWith {};
|
|
|
|
private _display = findDisplay IDD_ace_arsenal;
|
|
|
|
[_display, _display displayCtrl GVAR(currentLeftPanel)] call FUNC(fillLeftPanel);
|