Jump to content
Xayhawk

ACE Arsenal Whitelist only certain categories

Recommended Posts

Hi everyone! I am trying to get ACE arsenal to whitelist only certain categories, while keeping others fully available. 

Currently i'm trying to only restrict weapons, uniforms, vests and NVGs.

 

_uniformArray =     
[
    "uniform1"
];

_vestArray = 
[
    "vest1",
    "vest2"
];

_weaponArray = 
[
    "weapon1",

    "weapon2"
];

_nvgArray =
[
    "nvg1"
];

_allArray = _uniformArray + _vestArray + _weaponArray + _nvgArray;

{[_x, true, true] call ace_arsenal_fnc_removeVirtualItems; [_x, _allArray] call ace_arsenal_fnc_initBox;} forEach [box1,box2,box3,box4]; 

So far this works and only shows the white listed items, however nothing else in the non affected category appear (eg. backpack, helmet). Is it possible for this idea to even work?


Thanks!

Share this post


Link to post
Share on other sites

It's probably easiest to make a full arsenal and remove the things you don't want from it. 

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×