OFPEC Forum

Editors Depot - Mission Editing and Scripting => ArmA - Editing/Scripting General => Topic started by: SpetsNazCU on 14 Aug 2008, 08:24:31

Title: Make AI fly different altitude?
Post by: SpetsNazCU 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!
Title: Re: Make AI fly different altitude?
Post by: Mandoble on 14 Aug 2008, 09:09:53
Use flyInHeight command.
Title: Re: Make AI fly different altitude?
Post by: Carroll on 14 Aug 2008, 09:11:31
PlaneName flyInHeight 200  (or whatever height in metres)
Title: Re: Make AI fly different altitude?
Post by: The-Architect 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?