Jump to content
Taylor1984

Have AI take everything from ammo crate

Recommended Posts

Hi

 

How do you make an AI take a vest, a backpack, ammo, items, a helmet and weapons from an ammo crate using a script?

 

So far I've only managed to make the AI take all the ammo using this rather clunky code:

_cratemags = magazinecargo _crate;

{_AI addmagazines [_x, 1]}forEach _cratemags;

clearmagazinecargo _crate;

Thanks

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

×