airplaneThrottle: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " +<\/code>" to "</code>")
m (Text replacement - " \| ?\[\[([a-zA-Z0-9]+)\]\] *\|x1=" to " |r1= $1 |x1=")
Line 7: Line 7:
| '''airplaneThrottle''' airplane
| '''airplaneThrottle''' airplane
|p1= airplane: [[Object]] -
|p1= airplane: [[Object]] -
| [[Number]]
|r1= [[Number]]
 
|x1= <code>_trottle = '''airplaneThrottle''' myPlane</code>
|x1= <code>_trottle = '''airplaneThrottle''' myPlane</code>
|seealso= [[setAirplaneThrottle]]
|seealso= [[setAirplaneThrottle]]

Revision as of 11:27, 11 June 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
Object Manipulation

Syntax

Syntax:
Syntax needed
Parameters:
airplane: Object -
Return Value:
Number

Examples

Example 1:
_trottle = airplaneThrottle myPlane

Additional Information

See also:
setAirplaneThrottle

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
Posted on 10:18, 4 January 2020 (CET)
POLPOX
The value that set by setAirplaneThrottle =/= the value that can be get by airplaneThrottle when the plane's config throttleToThrustLogFactor isn't 1.
There're two planes in Vanilla Arma 3 that the value isn't 1, which are V-44 Blackfish and Y-32 Xi'an. vehicle player setAirplaneThrottle 0.5; airplaneThrottle vehicle player; // 0.793701 if the value is 3 airplaneThrottle vehicle player^(getNumber (configFile >> "CfgVehicles" >> typeOf vehicle player >> "throttleToThrustLogFactor")); // 0.5