Jump to content
Sign in to follow this  
cobra@pulse

Adding ammo in a script

Recommended Posts

Alright,

What I need to do is I am working on an artillary range system and I have a trigger to reset the range, and what I want to happen when I click this is that the CoC Pladins, MLRS, mortors and Howitzers reload back to thier full ammo, the way you can with an ammo truck.

These units are AI controlled and this will be for a MP mission.

Is there a way of doing it like tank1 setfuel 1 but with ammo.

If not, does anyone know the ammo names for the CoC Pladin, MLRS, mortors and M101's?

Thanks

Share this post


Link to post
Share on other sites

Just Dpbo the addon and check config for ammo names. Then you probobly just have to use addmagazine command to load them back up. You should probobly check to see if guns are out of ammo too.

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  

×