setAirplaneThrottle: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(added example)
m (Some wiki formatting)
 
(19 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Command|Comments=
{{RV|type=command
____________________________________________________________________________________________
 
|arma3|= Game
|game1= arma3
|1.70|Game Version=
|version1= 1.70
|arg= |Multiplayer Arguments=
 
|eff=  |Multiplayer Effects=
|arg= local
____________________________________________________________________________________________
 
| Sets a wanted throttle position, works only on player's vehicle. |DESCRIPTION=
|gr1= Object Manipulation
____________________________________________________________________________________________
 
| airplane setAirplaneThrottle value |SYNTAX=
|descr= Sets a wanted throttle position - works only on [[player]]'s vehicle.
|p1= airplane: [[Object]] - |PARAMETER1=
 
|p2= value: [[Number]] - Wanted throttle |PARAMETER2=
|s1= airplane [[setAirplaneThrottle]] value
|p3=  |PARAMETER3=
 
|p4=  |PARAMETER4=
|p1= airplane: [[Object]]
|p5=  |PARAMETER5=
 
|p6=  |PARAMETER6=
|p2= value: [[Number]] - wanted throttle
| [[Nothing]] |RETURNVALUE=
|x1= <code>_vehicle [[setAirplaneThrottle]] 0.5</code> |EXAMPLE1=
| [[airplaneThrottle]] |SEEALSO=
}}


<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>vehicle player setAirplaneThrottle 0.5;</sqf>
<!-- Appropriate categories go here -->


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

Latest revision as of 21:46, 7 May 2022

Hover & click on the images for description

Description

Description:
Sets a wanted throttle position - works only on player's vehicle.
Groups:
Object Manipulation

Syntax

Syntax:
airplane setAirplaneThrottle value
Parameters:
airplane: Object
value: Number - wanted throttle
Return Value:
Nothing

Examples

Example 1:
vehicle player setAirplaneThrottle 0.5;

Additional Information

See also:
airplaneThrottle

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