Jump to content
CPT_ALPHA

Infinite ammo and random target

Recommended Posts

Does anyone know how to make a static weapon AI shoot random targets (grasscutter or target oteo) and also have infinite ammo?
The objective is to make an MG 42 shoot infinitely at the beach (as if it were D-Day), and at random targets, and to do the same with a mortar and a Flak. I use the FoW and the IFA.
Thanks.

Share this post


Link to post
Share on other sites

I have used unlimited ammo when testing a map:

 

 

To give a unit unlimited ammo

= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =

 

this addeventhandler ["fired", {(_this select 0) setvehicleammo 1}]

 

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

×