flyInHeight: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
m (changed global to local variable to make clear the variable) |
||
Line 16: | Line 16: | ||
| aircraft '''flyInHeight''' altitude |= Syntax | | aircraft '''flyInHeight''' altitude |= Syntax | ||
|p1= aircraft: [[Object]] |= Parameter 1 | |p1= aircraft: [[Object#Vehicle|Vehicle]] |= Parameter 1 | ||
|p2= altitude: [[Number]] - flying altitude in meters |= Parameter 2 | |p2= altitude: [[Number]] - flying altitude in meters |= Parameter 2 | ||
Line 23: | Line 23: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <pre> | |x1= <pre>_helicopter flyInHeight 40</pre> |= Example 1 | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Revision as of 10:29, 27 August 2007
Description
- Description:
- Sets the flying altitude for aircraft relatively to the ground surface. Avoid too low altitudes, as helicopters and planes won't evade trees and obstacles on the ground. The default flying altitude is 100 meters.
- Groups:
- Uncategorised
Syntax
- Syntax:
- aircraft flyInHeight altitude
- Parameters:
- aircraft: Vehicle
- altitude: Number - flying altitude in meters
- Return Value:
- Nothing
Examples
- Example 1:
_helicopter flyInHeight 40
Additional Information
- See also:
- See also needed
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note
Notes
- Posted on August 4, 2006 - 10:50
- hardrock
- Notes from before the conversion: From version 1.80+ - flyInHeight now affects not only helicopters, but also planes.
- Posted on August 4, 2006 - 12:18
- UNN
- A planes flyInHeight, is restricted to a minimum of 20 meters.
Bottom Section
Categories:
- Scripting Commands
- Introduced with Operation Flashpoint version 1.00
- Operation Flashpoint: New Scripting Commands
- Operation Flashpoint: Scripting Commands
- Command Group: Uncategorised
- Scripting Commands: Global Effect
- Scripting Commands OFP 1.96
- Scripting Commands OFP 1.46
- Scripting Commands ArmA
- Command Group: Unit Control
- Command Group: Vehicle Assignment