airplaneThrottle: Difference between revisions
Jump to navigation
Jump to search
(Added a note by manual, the “Add New Note” button isn't working so fix is needed...) |
mNo edit summary |
||
Line 10: | Line 10: | ||
| '''airplaneThrottle''' airplane |SYNTAX= | | '''airplaneThrottle''' airplane |SYNTAX= | ||
|p1= airplane: [[Object]] - |PARAMETER1= | |p1= airplane: [[Object]] - |PARAMETER1= | ||
| [[Number]] |RETURNVALUE= | | [[Number]] |RETURNVALUE= | ||
|x1= <code>_trottle = '''airplaneThrottle''' myPlane </code> |EXAMPLE1= | |x1= <code>_trottle = '''airplaneThrottle''' myPlane </code> |EXAMPLE1= | ||
Line 20: | Line 15: | ||
}} | }} | ||
<h3 style='display:none'>Notes</h3> | |||
<dl class='command_description'> | <dl class='command_description'> | ||
<!-- BEGIN Note Section --> | <!-- BEGIN Note Section --> |
Revision as of 11:28, 4 January 2020
Description
- Description:
- Returns throttle position. Works only on player's vehicle.
- Groups:
- Uncategorised
Syntax
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
Notes
Bottom Section
- 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