airplaneThrottle: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments \("local" or "global"\)|Multiplayer Effects \("local" or "global"\)|Multiplayer Execution \("serv...) |
||
Line 1: | Line 1: | ||
{{Command | {{Command | ||
|arma3|= Game | |arma3|= Game | ||
|1.70 | |1.70 | ||
|arg= |Multiplayer Arguments= | |arg= |Multiplayer Arguments= | ||
|eff= |Multiplayer Effects= | |eff= |Multiplayer Effects= | ||
|gr1= Object Manipulation | |gr1= Object Manipulation | ||
| Returns throttle position. Works only on player's vehicle. | | Returns throttle position. Works only on player's vehicle. | ||
| '''airplaneThrottle''' airplane | | '''airplaneThrottle''' airplane | ||
|p1= airplane: [[Object]] - | |p1= airplane: [[Object]] - | ||
| [[Number]] | | [[Number]] | ||
|x1= <code>_trottle = '''airplaneThrottle''' myPlane </code> | |x1= <code>_trottle = '''airplaneThrottle''' myPlane </code> | ||
| [[setAirplaneThrottle]] | | [[setAirplaneThrottle]] | ||
}} | }} | ||
Revision as of 00:03, 18 January 2021
Description
- Description:
- Returns throttle position. Works only on player's vehicle.
- Groups:
- Object Manipulation
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