Home   Help Search Login Register  

Author Topic: How can i get troops to target helicopters automatically?  (Read 444 times)

0 Members and 1 Guest are viewing this topic.

MonkeyLord

  • Guest
Ok... here's my question:

I'm wanting to build a scenario where troops freely engage helicopters with small arms... and vice versa: I want helicopters to freely engage soldiers as well. At the moment, unless the solider is armed with an AA weapon, they ignore helicopters, and the helos ignore them in turn (but will freely engage vehicles without a problem)

What is the easiest way to do this?

BHD Mod

  • Guest
Re:How can i get troops to target helicopters automatically?
« Reply #1 on: 08 Apr 2003, 03:51:12 »
Ok this should work:

Name the chopper "A". Name the Guy who is shooting at the chopper "B". In "B"'s init field, type in: B dotarget A; B dofire A. This will make the ground guy fire at the chopper named "A" or any one else named "A". If you want the chopper to fire at the guy, say: A dotarget B; A dofire B. This should work.

Offline Artak

  • The old beanbag shaker
  • Former Staff
  • ****
  • You want to talk about it, yes?
    • OFP Team Finlanders
Re:How can i get troops to target helicopters automatically?
« Reply #2 on: 08 Apr 2003, 07:30:26 »
Them choppers have a priority when they select targets. Quite naturally they will first take out the vehicles, and I don't know anything how to prevent it, other than the dotarget, dofire thing mentioned above.

As for the units on ground, there's no way that I know of to make them shoot the choppers with pistols and such. It's a build in thing called realism which is really annoying sometimes. The AI thinks "Oh well, I only have so small gun, there's no use for me to shoot that big old chopper with it."

It's the same as you'd order them to shoot a tank, they just won't do it because they can't make any damage anyways.
Not all is lost.