flyInHeight: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 1: Line 1:
[[Category:Scripting Commands|FLYINHEIGHT]]
{{Command|= Comments
[[Category:Scripting Commands OFP 1.96|FLYINHEIGHT]]
____________________________________________________________________________________________
[[Category:Scripting Commands OFP 1.46|FLYINHEIGHT]]
[[Category:Scripting Commands ArmA|FLYINHEIGHT]]


| ofp |= Game name


<h2 style="color:#000066">'''''helicopter'' flyInHeight ''height'''''</h2>
|1.00|= Game version


|arg= local |= Arguments in MP


'''Operand types:'''
|eff= local |= Effects in MP
____________________________________________________________________________________________


'''helicopter:''' [[Object]]
| 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
____________________________________________________________________________________________


'''height:''' [[Number]]
| aircraft '''flyInHeight''' altitude |= Syntax


'''Type of returned value:'''
|p1= aircraft: [[Object]] |= Parameter 1


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


'''Description:'''
| [[Nothing]] |= Return value
____________________________________________________________________________________________
 
|x1= <pre>helicopter flyInHeight 40</pre> |= Example 1
____________________________________________________________________________________________


Set flying '''height''' level for '''helicopter'''.
|  |= See also


Accepted range is 50 to 1000.
}}


<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->


'''Example:'''
<!-- Note Section END -->
</dl>


cobraOne '''flyInHeight''' 150
<h3 style="display:none">Bottom Section</h3>
Old Notes (temporary):


 
From version 1.80+ - flyInHeight now affects not only helicopters, but also planes.
'''Comments:'''
[[Category:Scripting Commands|FLYINHEIGHT]]
 
[[Category:Scripting Commands OFP 1.96|FLYINHEIGHT]]
From version 1.80+ - '''flyInHeight''' now affects not only helicopters, but also planes.
[[Category:Scripting Commands OFP 1.46|FLYINHEIGHT]]
[[Category:Scripting Commands ArmA|FLYINHEIGHT]]

Revision as of 00:14, 2 August 2006

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

Bottom Section

Old Notes (temporary):

From version 1.80+ - flyInHeight now affects not only helicopters, but also planes.