Jump to content
7erra

BIS_fnc_addVirtualBackpackCargo not adding backpacks?

Recommended Posts

Hi everyone,

 

I was playing around with the addVirtualXXXCargo commands and all work fine except for BIS_fnc_addVirtualBackpackCargo. Here is some test code:

[cursorObject, "B_AssaultPack_mcamo_Ammo", true, true] call BIS_fnc_addVirtualBackpackCargo;

It returns the "added" backpack but there is none in the arsenal. Ideas?

Share this post


Link to post
Share on other sites

try second parameter as array

 

[cursorObject, ["B_AssaultPack_mcamo_Ammo"], true, true] call BIS_fnc_addVirtualBackpackCargo;

 

Share this post


Link to post
Share on other sites
Quote

backpackClasses: String or Array of strings - Backpack classes

Nope, works both. Also I tried both.

Share this post


Link to post
Share on other sites

Hm I just tested some other backpacks. Most of them seem to work, I only used the one that was not working (why ever). My test backpack was B_AssaultPack_mcamo_Ammo.

  • Like 1

Share this post


Link to post
Share on other sites

The special bags tend to hide in arsenal. Like a MG assistants bag or explosive specialists bag. Kind of sucks because certain medic bags have (Medic) suffix on them which would help in certain scenarios. 

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

×