I have been scraping the inside of my skull for a week trying to figure out why a character kept coming on and doing his scenes at the wrong time. He only appears if a variable is set, so the scene mechanism is tripping him on. Let’s check the 20 different passages where that happens…
Crazy if/else stacking? No. Any place I typoed and he doesn’t get shut off? No.
Wow it’s with every character. I tracked every character watching the variables turn on and off in the debug screen as I clicked forward. The only way it would show that passage is if a specific variable got set and…
As it turns out, I had hard-set the variable in several passages so I could quick preview that the text worked correctly and forgot to take them out. Once that variable got set in one of those passages, the entire game became about that character. He’d start showing up saying his lines… like the understudy going on at the same time as the main actor. He’s doing act 3 with another version of himself also doing act 1.
Memo to me. COMMENT DEBUG COMMANDS IN THE CODE. MAKE A NEW TAG #DEBUG - #TAKETHISOUTDUMMY
Please share your most bizarre and “D’OH!” testing moments so I’m not all alone on this island!