flyInHeight: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\| *((\[\[[a-zA-Z0-9_ |()]+\]\],? ?)+) * \}\}" to "|seealso= $1 }}")
(formatting)
Line 1: Line 1:
{{RV|type=command
{{RV|type=command


| ofp
|game1= ofp


|1.00
|version1= 1.00
 
|game2= arma1
 
|version2= 1.00
 
|game3= arma2
 
|version3= 1.00
 
|game4= arma2oa
 
|version4= 1.51
 
|game5= tkoh
 
|version5= 1.00
 
|game6= arma3
 
|version6= 0.50


|arg= local
|arg= local
Line 11: Line 31:
|gr1= Object Manipulation
|gr1= Object Manipulation


| 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.
|descr= 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.


| aircraft [[flyInHeight]] altitude
|s1= aircraft [[flyInHeight]] altitude


|p1= aircraft: [[Object]]
|p1= aircraft: [[Object]]
Line 19: Line 39:
|p2= altitude: [[Number]] - flying altitude in meters
|p2= altitude: [[Number]] - flying altitude in meters


| [[Nothing]]
|r1= [[Nothing]]
   
   
|x1= <code>_helicopter [[flyInHeight]] 40;</code>
|x1= <code>_helicopter [[flyInHeight]] 40;</code>


|seealso= [[flyInHeightASL]], [[swimInDepth]]
|seealso= [[flyInHeightASL]]
}}
}}


Line 43: Line 63:
<!-- Note Section END -->
<!-- Note Section END -->
</dl>
</dl>
[[Category:Scripting Commands OFP 1.99|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands OFP 1.96|FLYINHEIGHT]]
[[Category:Scripting Commands OFP 1.46|FLYINHEIGHT]]
{{GameCategory|arma1|Scripting Commands}}
{{GameCategory|arma2|Scripting Commands}}
{{GameCategory|arma3|Scripting Commands}}
{{GameCategory|tkoh|Scripting Commands}}

Revision as of 09:38, 8 March 2021

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:
Object Manipulation

Syntax

Syntax:
aircraft flyInHeight altitude
Parameters:
aircraft: Object
altitude: Number - flying altitude in meters
Return Value:
Nothing

Examples

Example 1:
_helicopter flyInHeight 40;

Additional Information

See also:
flyInHeightASL

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
Posted on August 4, 2006 - 10:50
hardrock
Notes from before the conversion:
From Logo A0.png1.80 - flyInHeight now affects not only helicopters, but also planes.
Posted on August 4, 2006 - 12:18
UNN
A plane's flyInHeight is restricted to a minimum of 20 meters.
Posted on December 15, 2008 - 19:04
Kronzky
A flyInHeight of 0 will keep the chopper pinned to the ground, even when the engines have been started.
Posted on 00:53, 11 April 2009 (CEST)
Jtgibson
If a helo has no waypoints, it will assume a low hover without regard to this setting.