You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The raw control :MAINTHROTTLE does not appear to take control of the craft controls once set unless some other raw control is also set, that being the case the :MAINTHROTTLE then controls the throttle as you would expect. Of note :NEUTRALIZE only becomes false once some other control is set and not when :MAINTHROTTLE is set.
Below is the test case I cooked up
CLEARSCREEN.
LOCAL sc to SHIP:CONTROL.
SET sc:PILOTMAINTHROTTLE TO 0.5.
PRINT "MAINTHROTTLE set to 1".
SET sc:MAINTHROTTLE TO 1.//throttle should move here
WAIT 1.
PRINT "should be false is: " + sc:NEUTRALIZE.//should be false, is true
WAIT 1.
PRINT "MAINTHROTTLE set to 0.0001 and YAW set to 1".
SET sc:YAW TO 1.
SET sc:MAINTHROTTLE TO 0.0001.//throttle does move here
WAIT 1.
PRINT "should be false is: " + sc:NEUTRALIZE.//should be false, is false
WAIT 1.
PRINT "MAINTHROTTLE set to 1".
SET sc:MAINTHROTTLE TO 1.//throttle does move here
WAIT 1.
SET sc:NEUTRALIZE TO TRUE.
PRINT "releasing controls".
WAIT 1.
PRINT "MAINTHROTTLE set to 1".
SET sc:MAINTHROTTLE TO 1.//throttle should move here
WAIT 1.
PRINT "should be false is: " + sc:NEUTRALIZE.//should be false, is true
WAIT 1.
PRINT "YAW set to 1".
SET sc:YAW TO 1.//throttle does move here
WAIT 1.
PRINT "should be false is: " + sc:NEUTRALIZE.//should be false, is false
WAIT 1.
SET sc:NEUTRALIZE TO TRUE.
PRINT "releasing controls".
The text was updated successfully, but these errors were encountered:
The raw control :MAINTHROTTLE does not appear to take control of the craft controls once set unless some other raw control is also set, that being the case the :MAINTHROTTLE then controls the throttle as you would expect. Of note :NEUTRALIZE only becomes false once some other control is set and not when :MAINTHROTTLE is set.
Below is the test case I cooked up
The text was updated successfully, but these errors were encountered: