{"name":"airplaneThrottle","operator":null,"title":"airplaneThrottle","type":"command","url":"https://community.bistudio.com/wiki/airplaneThrottle","revid":310739,"updated":"2022-05-07T20:12:21Z","groups":["Object Manipulation"],"status":"ok","replaced_by":[],"games":[{"game":"arma3","name":"Arma 3","version":"1.70"}],"since":{"game":"arma3","name":"Arma 3","version":"1.70"},"arma3_since":"1.70","branch":null,"locality":{"argument":null,"effect":null,"server_exec":false},"exec":null,"description":"Returns throttle position. Works only on player's vehicle.","syntaxes":[{"syntax":"airplaneThrottle airplane","since":null,"effect":null,"exec":null,"params":[{"name":"airplane","type":"Object","optional":false,"default":null,"description":null,"types":["Object"],"since":null,"text":"airplane: Object"}],"returns":{"type":"Number","types":["Number"],"description":null,"text":"Number"},"form":"unary","operator":null,"left":null,"right":{"text":"airplane","types":["Object"]}}],"examples":[{"text":"```sqf\nprivate _throttle = airplaneThrottle objectParent player;\n```","code":["private _throttle = airplaneThrottle objectParent player;"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["setAirplaneThrottle"],"notes":[{"user":"POLPOX","date":"2020-01-04T10:18:00Z","text":"The value that set by setAirplaneThrottle =/= the value that can be get by airplaneThrottle when the plane's config *throttleToThrustLogFactor* isn't 1.\n\nThere're two planes in Vanilla Arma 3 that the value isn't 1, which are V-44 Blackfish and Y-32 Xi'an.\n\n```sqf\nvehicle player setAirplaneThrottle 0.5;\nairplaneThrottle vehicle player;    // 0.793701 if the value is 3\nairplaneThrottle vehicle player^(getNumber (configFile >> \"CfgVehicles\" >> typeOf vehicle player >> \"throttleToThrustLogFactor\"));    // 0.5\n```"}],"categories":["Arma 3: New Scripting Commands","Arma 3: Scripting Commands","Command Group: Object Manipulation","Introduced with Arma 3 version 1.70","Scripting Commands"]}