puzzle room

● ARCHIVED · READ-ONLY
Started by Jarick 4 posts View original ↗
  1. I am trying to make a puzzle where you put the statues on thier correct spot
    if you do so will unlock the door and you go into the next area please some one
    help me figure out this event
  2. I've moved this thread to MV Support. Thank you.

  3. Hold my, um water, I got this. Let me get my event, I'll be right back and edit this post.



    Use script calls in a conditional branch like this:
    ```$gameMap.event(4).x === 14 && $gameMap.event(4).y === 4```

    To check if the event is where you want it to be.

    Then add the desired effect in the if statement of the conditional branch. Make sure the controlling event is parallel.
  4. I did something like this a while back.

    What you do is create each statue as an event. When interacting with the statue, set a move route to go 1 space away from the player.

    In each statue event, set 2 variables after each push, one to the statue's X coordinate, the other to the Y coordinate.

    Then use conditional branches to check if that statue is in the right spot using the variables.

    Activate a switch if both variables are correct, and switch it off if it isn't (That way, moving a statue off the correct spot will deactivate the switch). Do this with each statue.

    Also, use a separate parallel process to constantly monitor every switch with conditional branches. Once all of them are active, activate the switch that unlocks the door and set a self-switch in the parallel process to deactivate the parallel event to ensure it doesn't keep triggering over and over.

    Side Note: You'll want a way to reset the statues, in case they get pinned against a wall.