Sim/flightmodel/engine/ENGN thro override

From X-Plane SDK
Jump to: navigation, search
This page was imported from the previous wiki engine. It needs a review and cleanup of formatting. Please see this page for more information.
Ben sez: PLEASE DO NOT USE THIS DATAREF! IT IS DEPRECATED!!!!

To change the engine throttles, either:

- Write to sim/flightmodel/engine/ENGN_thro. This is the throttle position in the cockpit - you will be fighting with the joystick, so this may not be what you want.

- Set sim/operation/override/override_throttles to 1 - then write to sim/flightmodel/engine/ENGN_thro_use, which is a float array of ratios for each engine. Wtih this override, the dataref is used and joystick is ignored, so if the pilot grabs the throttles, they will be dead!