I'm still messing with the PMGD B737 TOGA mode for a motorised throttle. Sadly there is no way to use the TOGA mode so I have to create one.
I found a variable which is for the TOGA button press. It is 0 at the start but after pressing it it changes to 1. If I press again, it becomes 2. To set it to 0, the session must be restarted.
Is there any way to "save" a variable until a certain operation happens?
In this case this variable must go to 0 and stay there if the AT switch is turned off (rejected take off for example), if the plane is airborne (so when pressing the button again, the go around will be initiated). So whenever the TOGA switch is changed from 1 to 2 or from 2 to 1, while the AT is on, the variable must go from 0 to one.