Jump to content
eggbeast

Adding goggles to an ammo crate - how to?

Recommended Posts

Hi

 

sorry I know this toipic has come up before, but I have just researched as much as i can and found this:

http://feedback.arma3.com/view.php?id=2301

the end post says it has been fixed.

 

I want to add goggles to an ammo crate.  specifically new goggles items in the unsung mod we have created.

 

Is something special needed in their config?

 

When I do this in an ammo crate only the diving goggles show up, the others do not appear in the crate at all.

                _vec addItemCargo ["G_Diving",2]; //stock item shows up
           _vec addItemCargo ["G_Shades_Black",2];// stock item does NOT show up
            _vec addItemCargo ["UNS_Towel",2];// modded goggles items do not show up
            _vec addItemCargo ["UNS_Peace",2];
            _vec addItemCargo ["UNS_Bullets",2];

 

 

Share this post


Link to post
Share on other sites

forget this - it works - i just had the lines in the wrong place duh!

Share this post


Link to post
Share on other sites

Ha, just about to post when I refreshed and saw you had figured it out!

 

Also, assuming MP, I believe it is best practice to use addItemCargoGlobal?

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

×