Jump to content
dale0404

Virtual Arsenal - adding backpacks for machine gunners

Recommended Posts

Hey all,

 

Why when enter the VA in game it doesn't list the backpack that is in this code:

[TOUR_box, [

			"B_OutdoorPack_blk"
			

		],false,true] call BIS_fnc_addVirtualBackpackCargo;

Its got me baffled!

 

This is for the Auto-rifleman btw.

Share this post


Link to post
Share on other sites

Update:

 

Found that it works with other types of backpacks, just not this one, not sure why.

Share this post


Link to post
Share on other sites

Due to the outdoor pack not being scope 2 so its not on the arsenals internal white list.

init.sqf

["Preload"] call BIS_fnc_arsenal;
_data = missionNamespace getVariable [ "BIS_fnc_arsenal_data", [] ];
_backpacks = _data select 5;
_nul = _backpacks pushBack "B_OutdoorPack_blk";

 

box init

['AmmoboxInit',[this, true]] call BIS_fnc_arsenal;

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

×