Page MenuHomeFeedback Tracker

BIS_fnc_removeVirtualWeaponCargo does not work
Need More Info, WishlistPublic



we tried to remove the "feature" weapons from the VA but that does not work.

We tried it with an SQF file (see attachment).
We tried it in the Init of the Box.
[arsenal1,"launch_B_Titan_F",true] call BIS_fnc_removeVirtualWeaponCargo;
[arsenal1,"launch_I_Titan_F",true] call BIS_fnc_removeVirtualWeaponCargo;
[arsenal1,"launch_O_Titan_F",true] call BIS_fnc_removeVirtualWeaponCargo;
[arsenal1,"launch_Titan_F",true] call BIS_fnc_removeVirtualWeaponCargo;
[arsenal1,"launch_I_Titan_short_F",true] call BIS_fnc_removeVirtualWeaponCargo;
[arsenal1,"launch_B_Titan_short_F",true] call BIS_fnc_removeVirtualWeaponCargo;
[arsenal1,"launch_O_Titan_short_F",true] call BIS_fnc_removeVirtualWeaponCargo;
[arsenal1,"launch_Titan_short_F",true] call BIS_fnc_removeVirtualWeaponCargo;"

We tried it over Local Exec nothing seems to work.

Same for Item and magazine and also Backbacks. {F24796}


Legacy ID
Virtual Arsenal
Steps To Reproduce

See the methods that we tried above

Additional Information

Mod string:
-mod=@CBA_A3;@ACRE2;@agm;@ASDG_JR;@ASDG_Attachments;@ASR_AI3;@av_mods;@Burnes_M1A2;@BWA3;@DAR_HMMWV;@dar_maxxpro; @DAR_MTVR;@EBU_C130;@FA18_A3;@hafm_helis;@hlc_ar15;@hlcmods_g3; @hlcmods_ak;@hlcmods_m14; @hlcmods_fal;@hlcmods_jsrs;@hlcmods_core;@hlcmods_M60E4;@ivory_mig29k;@ivory_f15c;@kyo_mh47e_a3; @NATO_Russian_SF_Weapons; @niko_usa;@Peral_A-10C;@RAV_Lifter_A3;@African_Conflict; @rds;@rds_tank;@realarmor;@Trixie_Launchers;@USMC_A3;@hafm_arma2_helis_ahles3_fix;@mcc_sandbox_a3;@JSRS2;@BlastCore_A3;@Blastcore-Tracers;@Blastcore-Physics;@spliffz_vehicleActions; @BaBe_midTex;@landtex_a3

Event Timeline

meat147 edited Steps To Reproduce. (Show Details)Sep 14 2014, 6:18 PM
meat147 edited Additional Information. (Show Details)
meat147 set Category to Virtual Arsenal.
meat147 set Reproducibility to Always.
meat147 set Severity to None.
meat147 set Resolution to Open.
meat147 set Legacy ID to 572615367.May 7 2016, 7:26 PM
R3vo added a subscriber: R3vo.May 7 2016, 7:26 PM
R3vo added a comment.Sep 14 2014, 6:41 PM

Have got the same issue, can't get it to work. Either the documentation sucks or the command isn't working.

Cannot reproduce.

  1. I add a weapon using

[arsenal1,"launch_B_Titan_F",true] call BIS_fnc_addVirtualWeaponCargo;

  1. Check for the status

arsenal1 call bis_fnc_getVirtualWeaponCargo
I see the weapon there

  1. I remove it using

[arsenal1,"launch_B_Titan_F",true] call BIS_fnc_removeVirtualWeaponCargo;

  1. I check the status again and it's gone

Please keep in mind that it works as a whitelist, so in order to remove something, you need to add it first.

R3vo added a comment.Sep 15 2014, 9:46 AM

Sorry, but I don't get that. I need to add a weapon to the arsenal first, in order to remove it afterwards?

meat147 added a subscriber: meat147.May 7 2016, 7:26 PM


So i can't just use the arsenal with every single Weapon and block the standard BIS ones out instead of that i have to add every single modded weapon ?

Can you make me an Demo Mission or something ?

I just dont get it.

What i tried is:
Just the basic:
this addaction ["Open VA",{[] call BIS_fnc_arsenal}]; this allowdamage false;

(addaction because the other thing is broke (

I have a init.sqf in that stands :
_null = execVM "arsenal.sqf";

Arsenal.sqf :

[arsenal1,["arifle_MX_F","arifle_MX_SW_F","arifle_MXC_F"],true] call BIS_fnc_addVirtualWeaponCargo;

returns fine via :
arsenal1 call bis_fnc_getVirtualWeaponCargo

but it is not even in there. (if you open the VA).

R3vo added a comment.Sep 15 2014, 9:03 PM

I can confirm that it won't add the weapons the the Virtual Arsenal even though call BIS_fnc_getVirtualWeaponCargo returns the weapon classnames.

That forum post code mentions some incompatibility with ACRE. Do you also have ACRE @R3vo?

ACRE is incompatibility with Virtual Arsenal that is fixed in the next version of it..

That happens because acre has 512 different classnames (radio_ID) and that spammed the shit out of VA and also if 2 persons have the same Radio it lags. That is just to prevent it.

So it is not the fault of BIS

Its (case 0020757) occured with full-include Arsenal.
0 = ["AmmoboxInit",[this,true]] spawn BIS_fnc_arsenal; //Full arsenal = true
Then try [arsenal1,"launch_B_Titan_F",true] call BIS_fnc_removeVirtualWeaponCargo;
Why its working only with whiteList? This method is too complex for some reasons when when need full arsenal without some items.

R3vo removed a subscriber: R3vo.Dec 7 2020, 3:57 PM