Jump to content
Sign in to follow this  
arthur666

a way to fix a helicopter problem?

Recommended Posts

If I missed this anywhere, sorry. I assume it doesn't exist yet, but the problem is killing a couple of my missions. I searched for days, but found nothing.

Anyways, I was wondering if anyone has found a way to fix the problem of transport choppers flying off to engage enemies instead of picking-up/dropping-off their passengers. Setting them to Careless and Never Fire sometimes works, but what would be really great would be some script to cause this :

Pilots would not react to any threats or targets. They would simply fly their designated waypoints like good little AI robots. The door-gunners, however, would fire at any threats they see, but not cause the pilot to divert in any way.

Thanks for any tips or directions.

Share this post


Link to post
Share on other sites

I'm not sure if it works, but you could try this, if you haven't already:

driver _mychopper disableAI "TARGET"

You could enable the AI later by the enableAI command. See BI Wiki for proper usage.

Share this post


Link to post
Share on other sites

It worked perfectly! Thank you so much!

Tha name of my helicopter is uh60b , so my code looks like this:

driver uh60b disableAI "TARGET"

I just put that in the init box for that unit.

Then, I set my 1st waypoint to Combat and Open Fire, place a enemy squad in my LZ to test it, and tried it out.

The first time, I set the enemy squad on never fire, and the chopper dropped off my group and flew away without firing. The second time, I let the enemies open fire. The door gunners did not fire at first, but when the chopper started taking fire, they opened up with their M240s while my chopper landed and departed pretty damn quickly compared to without that piece of code.

This is just what I wanted. Can't believe I didn't ask months ago.

Thanks again.

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  

×