Hello again! I've been working fervently in the RPG Maker, and have taught myself quite a bit. However, I have been quite puzzled in the making of this...puzzle. Basically, what I want to do is have a "Push Puzzle". You must push snowballs in different directions correctly in order to clear a path to other side of the room.
There is one major rule in this puzzle:
-You can only move each snowball once.
I can make it so that the snowball can only be pushed once, but I also want it so that if the player leaves the room and comes back, they can try the puzzle again if they pushed them in the incorrect direction. When I go back in the room, the snowballs DO reset their positions, but they cannot be moved due to the Self Switch I used to get them to move one time each.
Is there any way I can have the event itself reset when I leave the room and come back?
You need an additional page in the snowball events that is triggered by a general switch "reset". In that page you use commands to turn each switch back to the original status (and might do other things neccessary to reset the event).
Then make an autorun-event in your puzzle map that contains four commands: switch "reset" ON, wait two or three frames (so that the other events can process that switch), switch reset off, erase event (so that the autorun will be reloaded and work again upon reentering the map.
There are other ways to do this with scripting, but I believe that you should avoid scripts where possible to reduce the number of scripts in your game to the minimum needed, to prevent compatibility issues during bughunting.
i can help you depending on the size of the map, if it is small(17x13), then it is free but if it is big uhm you need to hire someone.
Wouldn't this work?
If every snowball event has as its first page the condition "Start snowball event"
and you turn the condition "ON" every time you enter through a separate event
second page responds to being pushed
and you turn the "Start snowball event" switch "OFF" every time you leave the map, followed by a WAIT so you can do the next line...
and there is an additional "secret page" for each snowball (condition would be self-switch only - event command would turn it off) when the "Start snowball event" switch is turned off that resets the self switch
you can send a copy of your puzzle so i can look at it. please include the .rvproj2 so i can edit
Andar is spot on (though I'd use a parallel process event to reset positions, as it will run before the map becomes visible)
Your snowball events
Page 1
Conditions: none
Trigger: Action Button
Event Commands: Set Move Route: This event (Skip, Wait) > Move away from player
Control Self Switch A = ON
Page 2
Conditions: Self Switch A is ON
Trigger: Action Button
Event Commands: none
Page 3
Conditions: Switch [0001: Reset Snowballs] is ON
Trigger: Parallel Process
Event Commands: Control Self Switch A = OFF
Your "reset" event
Put this in the corner of your map. It will have no graphic
Page 1
Conditions: none
Trigger: Parallel Process
Event Commands: Control Switches [0001: Reset Snowballs] = ON
Wait 10 Frames
Control Switches [0001: Reset Snowballs] = OFF
Erase Event
Every time the map loads, the 'reset' event will turn on switch 1 (or whatever switch you allocate - make sure you use the same on in the 'reset' event and in your snowball events), which will cause all snowball events to turn their self switch A off again. Then the reset event will erase itself so it no longer controls the snowballs. Next time you leave and re-enter the map, it'll run again.