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>")
m (Text replacement - ">Posted on August ([0-9]{1}), ([0-9]{4})" to ">Posted on $2-08-0$1")
Line 46: Line 46:


<dt></dt>
<dt></dt>
<dd class="notedate">Posted on August 4, 2006 - 10:50</dd>
<dd class="notedate">Posted on 2006-08-04 - 10:50</dd>
<dt class="note">[[User:Hardrock|hardrock]]</dt>
<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 2006-08-04 - 12:18</dd>
<dt class="note">[[User:UNN|UNN]]</dt>
<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.

Revision as of 22:57, 13 May 2023

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 2006-08-04 - 10:50
hardrock
Notes from before the conversion:
From Logo A0.png1.80 - flyInHeight now affects not only helicopters, but also planes.
Posted on 2006-08-04 - 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.