flyInHeight: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<code>([a-zA-Z0-9_]+) +\[\[([a-zA-Z0-9_]+)\]\] +([a-zA-Z0-9_]+);?<\/code>" to "<sqf>$1 $2 $3;</sqf>")
(34 intermediate revisions by 5 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 |= Arguments in MP
|game3= arma1
|version3= 1.00


|eff= global |= Effects in MP
|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]] |= Parameter 1
|game7= arma3
|version7= 0.50


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


| [[Nothing]] |= Return value
|eff= global
____________________________________________________________________________________________
 
|x1= <pre>_helicopter flyInHeight 40</pre> |= Example 1
____________________________________________________________________________________________


| |= See also
|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.


<h3 style="display:none">Notes</h3>
|s1= aircraft [[flyInHeight]] altitude
<dl class="command_description">
<!-- Note Section BEGIN -->


<dd class="notedate">Posted on August 4, 2006 - 10:50
|p1= aircraft: [[Object]]
<dt class="note">'''[[User:Hardrock|hardrock]]'''<dd class="note">''Notes from before the conversion:''


From version '''1.80+''' - '''flyInHeight''' now affects not only helicopters, but also planes.
|p2= altitude: [[Number]] - flying altitude in meters


|r1= [[Nothing]]


<dd class="notedate">Posted on August 4, 2006 - 12:18
|x1= <sqf>_helicopter flyInHeight 40;</sqf>
<dt class="note">'''[[User:UNN|UNN]]'''<dd class="note">
A planes flyInHeight, is restricted to a minimum of 20 meters.


|seealso= [[flyInHeightASL]]
}}


<dd class="notedate">Posted on December 15, 2008 - 19:04
<dl class="command_description">
<dt class="note">'''[[User:Kronzky|Kronzky]]'''<dd class="note">
A flyInHeight of 0 will keep the chopper pinned to the ground, even when the engines have been started.


 
<dt></dt>
<dd class="notedate">Posted on 00:53, 11 April 2009 (CEST)
<dd class="notedate">Posted on August 4, 2006 - 10:50</dd>
<dt class="note">'''[[User:Jtgibson|Jtgibson]]'''<dd class="note">
<dt class="note">[[User:Hardrock|hardrock]]</dt>
If a helo has no waypoints, it will assume a low hover without regard to this setting.
<dd class="note">''Notes from before the conversion:''<br>
 
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>
<!-- Note Section END -->
<dt class="note">[[User:UNN|UNN]]</dt>
<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>
<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="notedate">Posted on 00:53, 11 April 2009 (CEST)</dd>
<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.
</dl>
</dl>
<h3 style="display:none">Bottom Section</h3>
[[Category:Scripting Commands|FLYINHEIGHT]]
[[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 ArmA2|{{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.