flyInHeight: Difference between revisions

From Bohemia Interactive Community
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>helicopter flyInHeight 40</pre> |= Example 1
|x1= <pre>_helicopter flyInHeight 40</pre> |= Example 1
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 11:29, 27 August 2007

Hover & click on the images for description

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