20,741
edits
m (→/Nasal/fbw.nas: start using the new methods to increment/decrement throttles) |
m (→/Nasal/fbw.nas: move the throttles vector initialization into the init func) |
||
Line 104: | Line 104: | ||
me.disconnectannounce = 0; | me.disconnectannounce = 0; | ||
# use a vector of throttles, this can be later on used to support more than | |||
# just two engines | |||
me.throttles = [nil,nil]; | |||
## Initialize with FBW Activated | ## Initialize with FBW Activated | ||
Line 160: | Line 164: | ||
## Engine Throttle Positions | ## Engine Throttle Positions | ||
me.throttles[0] = getprop("controls/engines/engine[0]/throttle"); | me.throttles[0] = getprop("controls/engines/engine[0]/throttle"); |