Quote:
Originally Posted by Alan Anderson
With that code, you're essentially taking a snapshot of the joystick button and the limit switch before the flat sequence begins, and not reading them again until it has ended.
You need to put the Joystick Get and the Switch Get Value functions inside their respective loops, so that you're repeatedly reading their current value.
|
Okay so I put it inside of the while loop and it works but it'll only work once.