flyInHeightASL: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "{{Command|=" to "{{Command|Comments=")
m (Some wiki formatting)
 
(14 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Command|Comments=
{{RV|type=command
____________________________________________________________________________________________
|arma3 |= Game
|1.62|Game Version=
|arg=  |Multiplayer Arguments=
|eff=  |Multiplayer Effects=
____________________________________________________________________________________________
| Sets the minimal ASL height. Final height is max(flyInHeight, flyInHeightASL). |DESCRIPTION=
____________________________________________________________________________________________
| aircraft [[flyInHeightASL]] params |SYNTAX=
|p1= aircraft: [[Object]] - helicopter, airplane |PARAMETER1=
|p2= params: [[Array]] -  height - careless/safe/aware, height - combat, height - stealth |PARAMETER2=


| [[Nothing]] |RETURNVALUE=
|game1= arma3
|version1= 1.62


|x1= <code>cobraOne [[flyInHeightASL]] [200, 100, 400];</code> |EXAMPLE1=
|gr1= Object Manipulation
____________________________________________________________________________________________


| [[flyInHeight]] |SEEALSO=
|descr= Sets the minimal [[Position#PositionASL|ASL]] height. Final height is {{hl|''flyInHeight'' [[max]] ''flyInHeightASL''}} - the higher altitude has priority.
}}
 
|s1= aircraft [[flyInHeightASL]] [standardAltitude, combatAltitude, stealthAltitude]
 
|p1= aircraft: [[Object]] - helicopter, airplane
 
|p2= standardAltitude: [[Number]] - base altitude used when [[behaviour]] is neither "COMBAT" or "STEALTH"
 
|p3= combatAltitude: [[Number]] -  altitude used when [[behaviour]] is "COMBAT"
 
|p4= stealthAltitude: [[Number]] - altitude used when [[behaviour]] is "STEALTH"


<dl class='command_description'>
|r1= [[Nothing]]
<!-- 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 -->
</dl>


<h3 style='display:none'>Bottom Section</h3>
|x1= <sqf>cobraOne flyInHeightASL [200, 100, 400];</sqf>
<!-- Appropriate categories go here -->


[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
|seealso= [[flyInHeight]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
}}

Latest revision as of 13:35, 25 July 2022

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

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