Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 906 - File: showthread.php PHP 7.2.24-0ubuntu0.18.04.17 (Linux)
I'm trying to connect a lever to a wooden sliding door from Justine, one that will become active after solving a few puzzles, much like Justine. For the life of me, I can't figure out how to even make the lever open the door in the first place. I had this same issue with a secret door in my last map that I still haven't resolved.
I took a look at the script for the existing Justine puzzle, but to me, it's just a confusing jumble of code I don't understand. I parsed out the code I thought would let me just open the door with the lever, and obviously it isn't working. Are there any suggestions anyone can give me to alter this script, or just to make a new one?
Spoiler below!
const int kLever_Open = -1;
const int kLever_Close = 1;