flyInHeight: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<dd class="notedate">Posted on ([^<>]+) " to "<dd class="notedate">Posted on $1</dd> ")
m (Text replacement - "<code>([a-zA-Z0-9_]+) +\[\[([a-zA-Z0-9_]+)\]\] +([a-zA-Z0-9_]+);?<\/code>" to "<sqf>$1 $2 $3;</sqf>")
(9 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{RV|type=command
{{RV|type=command


| ofp
|game1= ofp
|version1= 1.00


|1.00
|game2= ofpe
|version2= 1.00
 
|game3= arma1
|version3= 1.00
 
|game4= arma2
|version4= 1.00
 
|game5= arma2oa
|version5= 1.50
 
|game6= tkoh
|version6= 1.00
 
|game7= arma3
|version7= 0.50


|arg= local
|arg= local
Line 11: Line 28:
|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 36:
|p2= altitude: [[Number]] - flying altitude in meters
|p2= altitude: [[Number]] - flying altitude in meters


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


| [[flyInHeightASL]], [[swimInDepth]]
|x1= <sqf>_helicopter flyInHeight 40;</sqf>
 
|seealso= [[flyInHeightASL]]
}}
}}


<dl class="command_description">
<dl class="command_description">
<!-- Note Section BEGIN -->
 
<dt></dt>
<dd class="notedate">Posted on August 4, 2006 - 10:50</dd>
<dd class="notedate">Posted on August 4, 2006 - 10:50</dd>
<dt class="note">[[User:Hardrock|hardrock]]
<dt class="note">[[User:Hardrock|hardrock]]</dt>
<dd class="note">''Notes from before the conversion:''<br>
<dd class="note">''Notes from before the conversion:''<br>
From {{GVI|ofp|1.80}} - [[flyInHeight]] now affects not only helicopters, but also planes.
From {{GVI|ofp|1.80}} - [[flyInHeight]] now affects not only helicopters, but also planes.
<dd class="notedate">Posted on August 4, 2006 - 12:18</dd>
<dd class="notedate">Posted on August 4, 2006 - 12:18</dd>
<dt class="note">[[User:UNN|UNN]]
<dt class="note">[[User:UNN|UNN]]</dt>
<dd class="note">A plane's flyInHeight is restricted to a minimum of 20 meters.
<dd class="note">A plane's flyInHeight is restricted to a minimum of 20 meters.
<dd class="notedate">Posted on December 15, 2008 - 19:04</dd>
<dd class="notedate">Posted on December 15, 2008 - 19:04</dd>
<dt class="note">[[User:Kronzky|Kronzky]]
<dt class="note">[[User:Kronzky|Kronzky]]</dt>
<dd class="note">A [[flyInHeight]] of 0 will keep the chopper pinned to the ground, even when the engines have been started.
<dd class="note">A [[flyInHeight]] of 0 will keep the chopper pinned to the ground, even when the engines have been started.
<dd class="notedate">Posted on 00:53, 11 April 2009 (CEST)</dd>
<dd class="notedate">Posted on 00:53, 11 April 2009 (CEST)</dd>
<dt class="note">[[User:Jtgibson|Jtgibson]]
<dt class="note">[[User:Jtgibson|Jtgibson]]</dt>
<dd class="note">If a helo has no waypoints, it will assume a low hover without regard to this setting.
<dd class="note">If a helo has no waypoints, it will assume a low hover without regard to this setting.
<!-- Note Section END -->
</dl>
</dl>
[[Category:Scripting Commands|FLYINHEIGHT]]
[[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 14:25, 5 May 2022

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.