Jump to content
Sign in to follow this  
kupcho

Supply drop - loadout

Recommended Posts

I'd like to specify the contents of the crate delivered via a supply drop.

I tried to put the desired contents into the crate init field as I would if I was filling an existing supply crate, but that didn't work.

Maybe I just used bad syntax...

Any help would be appreciated.

Share this post


Link to post
Share on other sites

clearItemCargo this; clearWeaponCargo this; clearMagazineCargo this; this addItemCargo ["acc_flashlight", 10];

Share this post


Link to post
Share on other sites

You mean the ingame supply drop module?

If yes, you have a field where you can place any code as if it was ammocrate cargo init field.

So, what MulleDK19 says is ok, except one thing. AFAIK in this case you must use "_this" instead of "this"

In YouTube you may find other tweaks, like popping smoke in the crate position.

Share this post


Link to post
Share on other sites

Thanks for the replies folks.

Yes, I am talking about the supply drop module.

I did try to place the items via the INIT field of the ammo crate using the same method I'd use when filling a normal crate.

I'll give the "_this" method a whirl. One question though; How would that work when clearing the crate? "clearItemCargo _this"?

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
Sign in to follow this  

×