flyInHeight: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
Lou Montana (talk | contribs) m (Text replacement - "|= Game name" to "|Game name=") |
||
(24 intermediate revisions by 12 users not shown) | |||
Line 1: | Line 1: | ||
{{Command|= | {{Command|Comments= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| ofp | | | ofp |Game name= | ||
|1.00| | |1.00|Game version= | ||
|arg= local |= | |arg= local |Multiplayer Arguments= | ||
|eff= | |eff= global |Multiplayer Effects= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| 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. |= | | 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= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| aircraft | | aircraft [[flyInHeight]] altitude |SYNTAX= | ||
|p1= aircraft: [[Object]] |= | |p1= aircraft: [[Object]] |PARAMETER1= | ||
|p2= altitude: [[Number]] - flying altitude in meters |= | |p2= altitude: [[Number]] - flying altitude in meters |PARAMETER2= | ||
| [[Nothing]] |= | | [[Nothing]] |RETURNVALUE= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= < | |x1= <code>_helicopter [[flyInHeight]] 40;</code> |EXAMPLE1= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | [[flyInHeightASL]], [[swimInDepth]] |SEEALSO= | ||
}} | }} | ||
Line 33: | Line 32: | ||
<dl class="command_description"> | <dl class="command_description"> | ||
<!-- Note Section BEGIN --> | <!-- Note Section BEGIN --> | ||
<dd class="notedate">Posted on August 4, 2006 - 10:50 | |||
<dd class="notedate">Posted on August 4, 2006 - 10:50 | <dt class="note">[[User:Hardrock|hardrock]] | ||
<dt class="note"> | <dd class="note">''Notes from before the conversion:''<br /> | ||
From {{GVI|ofp|1.80}} - [[flyInHeight]] now affects not only helicopters, but also planes. | |||
From | <dd class="notedate">Posted on August 4, 2006 - 12:18 | ||
<dt class="note">[[User:UNN|UNN]] | |||
<dd class="note">A plane's flyInHeight is restricted to a minimum of 20 meters. | |||
<dd class="notedate">Posted on August 4, 2006 - 12:18 | <dd class="notedate">Posted on December 15, 2008 - 19:04 | ||
<dt class="note"> | <dt class="note">[[User:Kronzky|Kronzky]] | ||
A | <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) | ||
<dt class="note">[[User:Jtgibson|Jtgibson]] | |||
<dd class="note">If a helo has no waypoints, it will assume a low hover without regard to this setting. | |||
<!-- Note Section END --> | <!-- Note Section END --> | ||
</dl> | </dl> | ||
Line 51: | Line 51: | ||
[[Category:Scripting Commands|FLYINHEIGHT]] | [[Category:Scripting Commands|FLYINHEIGHT]] | ||
[[Category:Scripting Commands OFP 1.99|{{uc:{{PAGENAME}}}}]] | |||
[[Category:Scripting Commands OFP 1.96|FLYINHEIGHT]] | [[Category:Scripting Commands OFP 1.96|FLYINHEIGHT]] | ||
[[Category:Scripting Commands OFP 1.46|FLYINHEIGHT]] | [[Category:Scripting Commands OFP 1.46|FLYINHEIGHT]] | ||
[[Category:Scripting Commands ArmA|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 Arma 3|{{uc:{{PAGENAME}}}}]] | |||
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]] |
Revision as of 21:57, 31 August 2019
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:
- flyInHeightASLswimInDepth
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
- Posted on August 4, 2006 - 10:50
- hardrock
- Notes from before the conversion:
From1.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.
Bottom Section
Categories:
- Scripting Commands
- Introduced with Operation Flashpoint version 1.00
- Operation Flashpoint: New Scripting Commands
- Operation Flashpoint: Scripting Commands
- Command Group: Uncategorised
- Scripting Commands: Global Effect
- Scripting Commands OFP 1.99
- Scripting Commands OFP 1.96
- Scripting Commands OFP 1.46
- Scripting Commands ArmA
- Command Group: Unit Control
- Command Group: Vehicle Assignment
- Scripting Commands ArmA2
- Scripting Commands Arma 3
- Scripting Commands Take On Helicopters