Home   Help Search Login Register  

Author Topic: Is there any target airplane script(use with hawk)  (Read 595 times)

0 Members and 2 Guests are viewing this topic.

Commando

  • Guest
Is there any target airplane script(use with hawk)
« on: 13 Nov 2002, 19:13:20 »
Is there any good air-air targeting scripts that the a.i could use? Im going to use it with addon planes and so I need the a.i. pilots to use the aa-missiles lock on targetting.

CareyBear

  • Guest
Re:Is there any target airplane script(use with hawk)
« Reply #1 on: 15 Nov 2002, 15:03:58 »
if a plane is an AA plane, you shouldn't need a script 2 make it target air units. It should use AA missiles automatically.

Alternatively, Sefe wrote a 'guided SAM' script that will allow u to fire any missile at a moving airborne target and hit it (assumin it doesn't dodge *very* quickly). This won't actually have the *plane* fire the missile, but u can camCreate it from the plane's position (usin atan2 to make sure the plane is pointin towards the target, o'course) so it *looks* like the plane fired it - there's no difference to the player, after all.