Trying to finish up wit my pillar puzzle. Need help

So with this puzzle, it's based on matching four different pillars to what the puzzle requires in order to access the bosses doorway. I have everything set up, and this is based off both common event and variables, but it seems to not work. I also do not know how to make it to where it resets the puzzle incase the player gets the pillar count wrong. Here are my screenshots:


As you can see from these screenshots, this is the work I've completed.

Screenshot (3).png

Screenshot (4).png

Screenshot (5).png
I believe you are missing the control variables to track the position of each pillar.
'General Discussion' is for talking about general principles of game making.  "How do I...?" questions like this one should be in the Support forum for the engine you are using.  I can see from the screen shots that although your avatar info says you use VX Ace, this, in fact, is for MV.  (You might like to update your profile).


I've moved this thread to RPGMaker MV. Please be sure to post your threads in the correct forum next time. Thank you.
Thanks for the heads up. I changed the primary to MV.


As for control variables, I thought the pillar is part of that?
Its just like a simple rock puzzle, you need to TELL MV to track the position of it using map x and y.


or else it will have no idea where your pillar is
So variables alone wont do the trick. I have to set the cords
You can make a common event that always tracks it 😉


Look up a tutorial for a basic rock switch puzzle, its very similar its just doing it 4 times instead of 1 for your puzzle.
Well that's what I tried to do. Because whenever the player activates a pillar, it's suppose to record through the common event, hence why the 4 if statements.
I understand the boulder puzzle, but this is pressing the button on pillars puzzle. No pillars are suppose to be pushed or moved.
Ok wait.. Now I'm confused lol
Alright, my objective is to create a puzzle based on pillars. The four pillars must match exactly how the puzzle describes it. The pillars have variables from 1-4, whereas each pillar is identified as a number. Example from screenshot: red pillar is pillar 1, green pillar is pillar 2, yellow pillar is pillar 3, and blue pillar is pillar 4. Throughout the dungeon, there are other pillars with a variety of different color. The riddle states that the four pillars must be exact as it states. The answer behind the riddle is that pillar 1 and 2 are suppose to be green pillar 3 is suppose to be yellow, and pillar 4 is suppose to be blue. Thus, this is followed by variables in order for this puzzle to proceed.


Continuing on, every pillar throughout the dungeon will have a number upon it as the player reads, indicating which one it represents number wise. Its orb will be the color that'll change just into that in the main room with the four pillars. So lets say one finds a green pillar and its synced to pillar 1. To press this pillar becomes true because this matches what the riddle describes. However, lets say the pillar is red and the player presses it. Because red will be a higher number variable wise, this will be false, thus the puzzle resets.


Does this make sense?
Another words, lots of variable use for this puzzle, but it'll work how it should work.
Alright, my objective is to create a puzzle based on pillars...



I have a very similar puzzle with seven flames to be lit in the right order. Any error and all the flames extinguish; one has to start again. I have all in one map; is there a way of transmitting this so that you can have a look at it..? It's part of a whole Demo, but I could 'tease out' the essentials and zip 'em up; that would give you some idea of how to do it..?


As an alternative, I suppose I could do a 'Four Pillars' version from scratch, but there'd be less pedagogy for you in doing it that way.


Any thoughts..?


(I don't use scripts, plug-ins, black magic nor Dark Arts; only Events. Small, you see; I'm too small...;-) )


Here's a screen shot of one flame; you might get the idea from that...

Spoiler
jB4k6gn.png
Anything would be of great help really. Your puzzle sounds exactly like mine too, with exception of using pillars.


Only thoughts I can think of are common events and variables for this one. It cant be done with the boulder idea. There's too much changing up and will require conditions
Give me a few minutes and I'll post here a 'zipped' Project with my 'Flame' map. While you're looking through that, Ill have a go at doing a 'rough and ready' 'Four Pillars' thingy...


Back in a jiffy...


Edit: OK, I've put 'Flame.zip' into my Google Drive, which can be accessed here...


Flame.zip ...


Have a look at the pillars with Red Orbs on 'em, and the Orbs themselves. It's playable, too (you'll have to find out for yourself the correct order, of course..! Mwahahaha...). Meanwhile I'll have a shot at your Pillars puzzle. Enjoy; get back here if there are questions... 


Edit again... Here, on the same Google Drive, is my simple version of your Four Pillars puzzle...


Four Pillars.zip ...


It may not be exactly as you would want it, but it may help. There are four Correct pillars, and four Erroneous ones. Any error will reset them all. One has to correctly identify (by activating the numbers, in any order...) to get the Mini-Boss to come forth. No combat; it's just for fun.


Hope this helps.
Give me a few minutes and I'll post here a 'zipped' Project with my 'Flame' map. While you're looking through that, Ill have a go at doing a 'rough and ready' 'Four Pillars' thingy...


Back in a jiffy...


Edit: OK, I've put 'Flame.zip' into my Google Drive, which can be accessed here...


Flame.zip ...


Have a look at the pillars with Red Orbs on 'em, and the Orbs themselves. It's playable, too (you'll have to find out for yourself the correct order, of course..! Mwahahaha...). Meanwhile I'll have a shot at your Pillars puzzle. Enjoy; get back here if there are questions... 


Edit again... Here, on the same Google Drive, is my simple version of your Four Pillars puzzle...


Four Pillars.zip ...


It may not be exactly as you would want it, but it may help. There are four Correct pillars, and four Erroneous ones. Any error will reset them all. One has to correctly identify (by activating the numbers, in any order...) to get the Mini-Boss to come forth. No combat; it's just for fun.


Hope this helps.

I love your idea and tried it a slightly different, but still have an issue. The major difference between yours and mine is that yours is on a all in one map setting, whereas mine is in multiple map settings. And that's why it isn't working for my end, even on common event strangely. I thought common event is a world thing?
I'm even trying this method over using common event and it still not works.


I thought = means in java language "is" which means this logic should be saying "if pillar count is 7" it should be going with the if statement and not toward else.

Screenshot (6).png
I love your idea and tried it a slightly different, but still have an issue. The major difference between yours and mine is that yours is on a all in one map setting, whereas mine is in multiple map settings. And that's why it isn't working for my end, even on common event strangely. I thought common event is a world thing?



Well, I duplicated my Map into two others, and split the statues between the new Maps, removing them from the original Map. One Map has one correct and three false statues, the other has the opposite. It works just the same; the Switches and Variable used being Global. I 'optimised' slightly, by making the Statues Reset command a Common Event, called by each Erroneous button, which would simplify upkeep if more statues were to be added, in any number of other Maps. I could post this multi-map version if you wish..?
I'm even trying this method over using common event and it still not works.


I thought = means in java language "is" which means this logic should be saying "if pillar count is 7" it should be going with the if statement and not toward else.



I'm not sure what you're asking here. Again, as a guess, I'd say that the 'logic' presented will work, as long as the Variable 'PillarCount' has, in fact, the value '7'. You can test this by inserting a 'Control Variable' command right at the top of your Contents page (before the Text Box...), to force the value of PillarCount to '7'. Then, at least, you'll see the result of your condition test. Assuming that this is conclusive, you will then have to work out why the PillarCount is not reaching the value '7'.


(Don't forget to remove this new test line once it's served its purpose, of course..!)


Hope this helps.
Well I did a test and do similar to what you did with your pillar idea, and have the switch setup occur all in one room and it works. So somehow when uses this pillar method in multiple rooms, it is not being saved worldly, which is a big problem due to the fact the puzzle will not work how I want it.

Original thread: https://forums.rpgmakerweb.com/threads/trying-to-finish-up-wit-my-pillar-puzzle-need-help.64756/