Jump to content
Sign in to follow this  
Redeye_87th

Rearming ai choppers

Recommended Posts

Okay I've got a chalange!

I'm playing dynamic vietnam mission by Bagel. In this mission u can buy choppers (these are camcreated) and then fly around with them.

The chalange I face is how to get them to rearm. Once the chopper has used up all it's ammo it will fly to the nearest ammotruck and starts hovering over it but no ammo is transfered.

As far as I know heliname addmagazine "ammoname" doesn't work because the camecreated chopper doesn't have a name. The crew does have one.

Any ideas?

Redeye rock.gif

Share this post


Link to post
Share on other sites

If I fly the chopper no prob. But the AI is flying the bird and those bastards just start flying cirlces around the ammo.

Share this post


Link to post
Share on other sites

I get the same problem, I was thinking the flyinheight was the issue but I'm not sure. They just fly in circles at about 50m. rock.gif

Share this post


Link to post
Share on other sites

ermm...im a noob at scripting...so this is just a thought...cant u use bas_repairH? it repairs and rearms as far as i know, but u need to define a dammage level so the heli goes repair/rearm

Share this post


Link to post
Share on other sites

No I personally can't use bas_ anything, I have some 'no addon' missions where this happens. This could be an issue with OFPR... I'm not sure, no time to play.

Share this post


Link to post
Share on other sites

I'm not a scripter, but I know that, it may help you.

Any thing that gets camcreated should have a name, at list in triggers and waypoints, so it should be in scripts aswell, lets hoppe.

Quote[/b] ]mocoloco="Whatever gets camcreated"camcreate getpos wherever

In this example, "mocoloco" is the name, so all you have to do is find what names have been used for this camcreated choppers.

But, again, I'm not a scripter, so I may be wrong.

Good luck.

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  

×