flyInHeightASL: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Created page with "{{Command|= ____________________________________________________________________________________________ |arma3 |= Game |1.62|= Game Version |arg= |= Multiplayer Arguments |e...")
 
m (Some wiki formatting)
 
(18 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{Command|=
{{RV|type=command
____________________________________________________________________________________________
 
|arma3 |= Game
|game1= arma3
|1.62|= Game Version
|version1= 1.62
|arg=  |= Multiplayer Arguments
 
|eff= |= Multiplayer Effects
|gr1= Object Manipulation
____________________________________________________________________________________________
 
| Sets the minimal ASL height. Final height is max(flyInHeight, flyInHeightASL). |= Description
|descr= Sets the minimal [[Position#PositionASL|ASL]] height. Final height is {{hl|''flyInHeight'' [[max]] ''flyInHeightASL''}} - the higher altitude has priority.
____________________________________________________________________________________________
 
| aircraft [[flyInHeightASL]] params |= Syntax
|s1= aircraft [[flyInHeightASL]] [standardAltitude, combatAltitude, stealthAltitude]
|p1= aircraft: [[Object]] - helicopter, airplane |= Parameter 1
 
|p2= params: [[Array]] - height - careless/safe/aware, height - combat, height - stealth |= Parameter 2
|p1= aircraft: [[Object]] - helicopter, airplane
|p3=  |= Parameter 3
 
|p3=  |= Parameter 4
|p2= standardAltitude: [[Number]] - base altitude used when [[behaviour]] is neither "COMBAT" or "STEALTH"
|p3=  |= Parameter 5
 
|p3=  |= Parameter 6
|p3= combatAltitude: [[Number]] - altitude used when [[behaviour]] is "COMBAT"
| [[Nothing]] |= Return Value
 
|x1= cobraOne [[flyInHeightASL]] [200, 100, 400] |= Example 1
|p4= stealthAltitude: [[Number]] - altitude used when [[behaviour]] is "STEALTH"
| - |= See Also
}}


<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 14: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