Alright, so...I tried to code a puzzle in which you have to light the torches in a certain color order for it to work.
When you get the order right, it works as normal, activating the switch and stuff. When you get it wrong, however, the self switches don't reset, and then you're stuck. This isn't even the first time this has happened.
I thinking that maybe the way I did this is too over-complicated, but I'm not too sure.
EDIT: Thank you so much. I'll just have to do an individual script call to turn off each self switch on each event. A bit tedious but thankfully, I only have to do it once.
EDIT-EDIT- One small problem, every time the sequence resets, the last light you lit inexplicably relights, making it impossible to try it again. Anyone can shed some light on this? (pun intended)
When you get the order right, it works as normal, activating the switch and stuff. When you get it wrong, however, the self switches don't reset, and then you're stuck. This isn't even the first time this has happened.
I thinking that maybe the way I did this is too over-complicated, but I'm not too sure.
EDIT: Thank you so much. I'll just have to do an individual script call to turn off each self switch on each event. A bit tedious but thankfully, I only have to do it once.
EDIT-EDIT- One small problem, every time the sequence resets, the last light you lit inexplicably relights, making it impossible to try it again. Anyone can shed some light on this? (pun intended)