Switching between modes with MIDI Fighter Twister button leads to a TypeError
Hi everyone,
I am getting strange behavior when trying to implement two additional modes on top of the Global Mode. Because I have followed the instructions outlined in the video (https://www.youtube.com/watch?v=Rh8plD3ajno) closely, using a MIDI Fighter Twister, and only using a different button for changing the mode, I think this is buggy behavior. Please correct me if I’m wrong and I made a mistake somewhere.
In the imported MIDI Fighter Twister template, I am using Button 2, set to:
Mode = mode0 (my global mode)
Controller Input = Button 2
Mode Selector = Scroll
Input Control Override = Custom
Control Type = Increment
The rest left as is.
Now, when I load the script and press Button 2 to switch modes, the Log registers a TypeError:
“int() argument must be a string, a byte-like object or a real number, not ‘NoneType'”
Further up, the line “goto = int(active_mode_key) + 1” is referenced.
Am I missing something?
Thanks!
Hi, I’m not a dev but I have an MFT and will try to recreate your situation later today, to see if we can find a solution or pinpoint the problem. Just for a heads up, it will probably be in more than 12 hours.
Sign up
User registration is currently not allowed.
I tried importing your uploaded script and it won’t import.
I’m using CSS version 3.1.1
Maybe the script didn’t compile correctly?