flyInHeight: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "[[Category:Scripting_Commands_Take_On_Helicopters" to "[[Category:Scripting Commands Take On Helicopters")
m (Text replacement - "<code>([a-zA-Z0-9_]+) +\[\[([a-zA-Z0-9_]+)\]\] +([a-zA-Z0-9_]+);?<\/code>" to "<sqf>$1 $2 $3;</sqf>")
(22 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Command|Comments=
{{RV|type=command
____________________________________________________________________________________________


| ofp |Game name=
|game1= ofp
|version1= 1.00


|1.00|Game version=
|game2= ofpe
|version2= 1.00


|arg= local |Multiplayer Arguments=
|game3= arma1
|version3= 1.00


|eff= global |Multiplayer Effects=
|game4= arma2
____________________________________________________________________________________________
|version4= 1.00


| 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. |DESCRIPTION=
|game5= arma2oa
____________________________________________________________________________________________
|version5= 1.50


| aircraft [[flyInHeight]] altitude |SYNTAX=
|game6= tkoh
|version6= 1.00


|p1= aircraft: [[Object]] |PARAMETER1=
|game7= arma3
|version7= 0.50


|p2= altitude: [[Number]] - flying altitude in meters |PARAMETER2=
|arg= local


| [[Nothing]] |RETURNVALUE=
|eff= global
____________________________________________________________________________________________
 
|x1= <code>_helicopter [[flyInHeight]] 40;</code> |EXAMPLE1=
____________________________________________________________________________________________


| [[flyInHeightASL]], [[swimInDepth]] |SEEALSO=
|gr1= Object Manipulation
 
|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.
 
|s1= aircraft [[flyInHeight]] altitude
 
|p1= aircraft: [[Object]]
 
|p2= altitude: [[Number]] - flying altitude in meters
 
|r1= [[Nothing]]
 
|x1= <sqf>_helicopter flyInHeight 40;</sqf>
 
|seealso= [[flyInHeightASL]]
}}
}}


<h3 style="display:none">Notes</h3>
<dl class="command_description">
<dl class="command_description">
<!-- Note Section BEGIN -->
 
<dd class="notedate">Posted on August 4, 2006 - 10:50
<dt></dt>
<dt class="note">[[User:Hardrock|hardrock]]
<dd class="notedate">Posted on August 4, 2006 - 10:50</dd>
<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 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 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 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>
<h3 style="display:none">Bottom Section</h3>
[[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]]
[[Category:Scripting Commands ArmA|FLYINHEIGHT]]
[[Category:Command_Group:_Unit_Control|{{uc:{{PAGENAME}}}}]]
[[Category:Command_Group:_Vehicle_Assignment|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Take On Helicopters|{{uc:{{PAGENAME}}}}]]

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.