Trying to figure out how to recreate the Bioshock hacking puzzle / mini game

So - I am about 99 percent certain that this can be done with event switches and a timer, but I am having trouble getting the game to do what I want it to.
I am not sure what I am doing wrong here.
Basically - when the first pipe is lit up, the second pipe needs to both be in the right position and to check to make sure the previous pipe is lit up, and if it is, then the second pipe will be shown as lit up.
I can't seem to make it happen though and I am not sure why.

I have this set up in my testing game, and I took a video to show what I am messing around with.

If I can get the actual puzzle working, then I can re-skin everything, add elements not included in the original hacking puzzle, and possibly have it done on a map, where the player's character is replaced with a cursor.

Oh wait - this might belong in the event systems thread.
Looks interesting, on the first glimpse this should be doable even with more dynamic and complex pipe
solution ways.
But i know rpg maker, bugs and problems often lurk behind the next corner, but i think i give it an hour, will reply to you than =).

Edit: My Head Smokes =), not easy with Eventing. Maybe a Scripter drops by.
Okay, maybe I have an idea why it does not work.

You control your entire system via an event 001 that has multiple pages. An event always takes the last page and checks the condition for accuracy.

Try the following system: create a separate query for each event field, so you have several events to query instead of an event with multiple pages.

If I understand you correctly, one switch must always be active before (switch on) so that the next field is queried.

You can just solve that with a variable. If field 1 is akti, you set the varaible to the value one. At Event 2, you place a checkmark in the query variable and mark the value. If the value is eg 1 for the first field was solved successfully, only Event 2 is triggered and interrogated. If Event 2 has been defined as resolved, the box will appear.

It would have to work. I suspect that your game simply does not work because RPG Maker MV has a hard time getting it to work on multiple pages being handled in an event.
Wow - I don't know about half the things you are saying, Der_Dude. You may in fact be much smarter than me.
Fortunately, I was able to fall assbackwards into solving my issue - apparently by having the pipe light up through a switch that is activated by both a self switch and a switch switch, was asking too much of the game.


However - upon fixing my issue, I realized that the puzzle as I had it laid out, would provide no real challenge. Maaaaybe if the time timer was significantly shorter, but in that case it is just a race to hit switches, not a puzzle.

So I revisited video of the old Bioshock puzzle and realized that I had totally remembered it wrong. It wasn't just putting the pipes in the right position to get the water to flow where you wanted it, it was replacing pipes that were in the wrong position, with previously discovered pipes that were in the correct position, with a few random broken pipes being irreplaceable ... which... is an entirely different challenge.

I think this MIGHT be able to be accomplished by treating the pipes you uncover like "key" items... I am not sure. I haven't really messed with key items yet in the game.
Ugh . Making the puzzle correctly may be too much for my brain to handle.
I think one would have to make it so that you can only hold one pipe at a time as an item. Every single block that isn't a damaged block has to have the ability to change according to whatever item you place on that block.
It would be helpful if when you were holding one of the pipe items, an image showed up on your hud in the corner, reminding the player which pipe they were holding.
I think this can be done. I'm just not certain if I have the patience to do it, haha.

Original thread: https://forums.rpgmakerweb.com/threads/trying-to-figure-out-how-to-recreate-the-bioshock-hacking-puzzle-mini-game.109324/