Home   Help Search Login Register  

Author Topic: Make AI fly different altitude?  (Read 974 times)

0 Members and 1 Guest are viewing this topic.

Offline SpetsNazCU

  • Members
  • *
Make AI fly different altitude?
« on: 14 Aug 2008, 08:24:31 »
Hi, I'm wondering if its possible for someone to make a script or something that would allow a player to set the altitude that the AI is flying at.  Multiplayer friendly a plus +++
Cuz it sucks having the ai flying at 50 meters the whole time and then ridiculously slamming into rocks at the edge of mountains, etc

Thank you in advanced!

Offline Mandoble

  • Former Staff
  • ****
    • Grunt ONE and MandoMissile suite
Re: Make AI fly different altitude?
« Reply #1 on: 14 Aug 2008, 09:09:53 »
Use flyInHeight command.

Offline Carroll

  • Members
  • *
  • Mission Designer (MP-"well tryin to capiche"
Re: Make AI fly different altitude?
« Reply #2 on: 14 Aug 2008, 09:11:31 »
PlaneName flyInHeight 200  (or whatever height in metres)

Offline The-Architect

  • Former Staff
  • ****
  • Bite my shiny metal...
    • Bob's Un-official Flashpoint Page
Re: Make AI fly different altitude?
« Reply #3 on: 14 Aug 2008, 16:13:12 »
The
Code: [Select]
Unitname FlyInHeight NumericalValue has some problems. Many times the unit will change it's mind after encountering the enemy. Sometimes it will just change it's mind after a waypoint.

I wonder, where is the code in the BIS files that determines the FlyInHeight default?
James Andrew Wilkinson 1977 - 2005 R.I.P.
"If it ain't the friggin' incoming it's the friggin' outgoing. Only difference is who gets the friggin' grease, and that ain't no friggin' difference at all."