flyInHeight: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{{Command|= Comments | |||
____________________________________________________________________________________________ | |||
| ofp |= Game name | |||
|1.00|= Game version | |||
|arg= local |= Arguments in MP | |||
|eff= local |= Effects in MP | |||
____________________________________________________________________________________________ | |||
' | | 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 '''flyInHeight''' altitude |= Syntax | ||
|p1= aircraft: [[Object]] |= Parameter 1 | |||
[[ | |p2= altitude: [[Number]] - flying altitude in meters |= Parameter 2 | ||
| [[Nothing]] |= Return value | |||
____________________________________________________________________________________________ | |||
|x1= <pre>helicopter flyInHeight 40</pre> |= Example 1 | |||
____________________________________________________________________________________________ | |||
| |= See also | |||
}} | |||
<h3 style="display:none">Notes</h3> | |||
<dl class="command_description"> | |||
<!-- Note Section BEGIN --> | |||
<!-- Note Section END --> | |||
</dl> | |||
<h3 style="display:none">Bottom Section</h3> | |||
Old Notes (temporary): | |||
From version 1.80+ - flyInHeight now affects not only helicopters, but also planes. | |||
[[Category:Scripting Commands|FLYINHEIGHT]] | |||
[[Category:Scripting Commands OFP 1.96|FLYINHEIGHT]] | |||
From version 1.80+ - | [[Category:Scripting Commands OFP 1.46|FLYINHEIGHT]] | ||
[[Category:Scripting Commands ArmA|FLYINHEIGHT]] |
Revision as of 00:14, 2 August 2006
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.