flyInHeightASL: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "{{Command|=" to "{{Command|Comments=")
(Fix arguments)
Line 1: Line 1:
{{Command|Comments=
{{Command|Comments=
____________________________________________________________________________________________
____________________________________________________________________________________________
|arma3 |= Game
|arma3 |= Game
|1.62|Game Version=
|1.62|Game Version=
|arg=  |Multiplayer Arguments=
|eff=  |Multiplayer Effects=
____________________________________________________________________________________________
____________________________________________________________________________________________
| Sets the minimal ASL height. Final height is max(flyInHeight, flyInHeightASL). |DESCRIPTION=
 
| Sets the minimal ASL height. Final height is {{Inline code|''flyInHeight'' [[max]] ''flyInHeightASL''}} - the higher altitude has priority. |DESCRIPTION=
____________________________________________________________________________________________
____________________________________________________________________________________________
| aircraft [[flyInHeightASL]] params |SYNTAX=
 
| aircraft [[flyInHeightASL]] [standardAltitude, combatAltitude, stealthAltitude] |SYNTAX=
 
|p1= aircraft: [[Object]] - helicopter, airplane |PARAMETER1=
|p1= aircraft: [[Object]] - helicopter, airplane |PARAMETER1=
|p2= params: [[Array]] -  height - careless/safe/aware, height - combat, height - stealth |PARAMETER2=
 
|p2= standardAltitude: [[Number]] - base altitude used when [[behaviour]] is neither "COMBAT" or "STEALTH" |PARAMETER2=
 
|p3= combatAltitude: [[Number]] -  altitude used when [[behaviour]] is "COMBAT" |PARAMETER3=
 
|p4= stealthAltitude: [[Number]] - altitude used when [[behaviour]] is "STEALTH" |PARAMETER4=


| [[Nothing]] |RETURNVALUE=
| [[Nothing]] |RETURNVALUE=
Line 22: Line 30:
<dl class='command_description'>
<dl class='command_description'>
<!-- BEGIN Note Section -->
<!-- BEGIN Note Section -->
<!-- For example:
 
<dd class='notedate'>Posted on Month Day, Year - Time (UTC)</dd>
<dt class='note'>'''[[User:User Name|User Name]]'''</dt>
<dd class='note'>This is an example note. It is true and verifiable, and contains a little code snippet.
<code>[[if]] ([[_this]] == anExample) [[then]] { hint: Leave it here for others to read; };</code></dd>
-->
<!-- END Note Section -->
<!-- END Note Section -->
</dl>
</dl>
Line 33: Line 36:
<h3 style='display:none'>Bottom Section</h3>
<h3 style='display:none'>Bottom Section</h3>
<!-- Appropriate categories go here -->
<!-- Appropriate categories go here -->
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]

Revision as of 12:06, 30 June 2020

Hover & click on the images for description

Description

Description:
Sets the minimal ASL height. Final height is flyInHeight max flyInHeightASL - the higher altitude has priority.
Groups:
Uncategorised

Syntax

Syntax:
aircraft flyInHeightASL [standardAltitude, combatAltitude, stealthAltitude]
Parameters:
aircraft: Object - helicopter, airplane
standardAltitude: Number - base altitude used when behaviour is neither "COMBAT" or "STEALTH"
combatAltitude: Number - altitude used when behaviour is "COMBAT"
stealthAltitude: Number - altitude used when behaviour is "STEALTH"
Return Value:
Nothing

Examples

Example 1:
cobraOne flyInHeightASL [200, 100, 400];

Additional Information

See also:
flyInHeight

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

Bottom Section