Jump to content
Prejudice

How to Remove/Add Items from a custom Virtual Arsenal

Recommended Posts

Hello, 

 

Every week my 10 friends and I play the Antistasi Scenario on a custom server of mine. We unfortuantly playing the wrong version but are too far along to start over. what im wanting to do is edit the Arsenal (Virtual Armory) and remove some specific weapons from it, Ive got the variable name of the crate but every time I run the code, nothing is happening, Ive searched High and Low and can't find a solution, even tried the examples off the wiki.

 

[ caja, ["arifle_MXM_F"], true ] call BIS_fnc_removeVirtualItemCargo;

I have 4 of those rifles in the Aresnal, I want them all gone. But Im running that above script and its not working. I know it's the correct variable name because I can move it around with that variable name. 

some help would be very appreciated 🙂 

Share this post


Link to post
Share on other sites

It's not working because Antistasi missions use a custom "JeroenArsenal" set of scripts that overwrite the default VA behaviour.  You might have better luck finding where  the save game information is and tweak that file itself.

Share this post


Link to post
Share on other sites

Try putting this in the description.ext to blacklist unwanted items.

 

arsenalRestrictedItems[] = {"arifle_MXM_F","arifle_MX_F"};

Just create an array of unwanted items and it should blacklist them. If it is using the Arma 3 arsenal function.

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

×