Uncooperative Rubble

Okay, I tried to make a dungeon with -what I thought would be- a very basic roadblock: put the player on an obvious mountain road, block their path with rubble, forcing them to take the other, longer path. The rubble would be removed a bit later, when the story progressed a bit, allowing the player to backtrack more easily:

CF7liPf.png


So, I knew I couldn't just put tiles here on the map: the idea was to create events that would be set to disappear after the Variable "Story Progression" reached a certain number.

BUT, and that's probably where my problems started, I just didn't like the look of the basic pile of rubbles available in the basic graphics:
Ch7qJXq.png

It looks too much like you could pass it just by sticking to the wall, you know?

So, I tried to get creative and to make it look like the pile of rubble truly blocked the path, something that would look like that:
8g1Bj40.png


The problem is that this picture was obtained by mixing tiles with events: the base of the rubble pile are events (and therefore can be removed) while the upper part are just old tiles. And THAT is when I got in trouble: I tried to reproduce the same look except only with events. Since you can't stack events on top of each other in the map editor, I tried to make the events which would compose the base of the pile relocate using the "Set Event Location" command:

pdAbXQg.png
OaqRpKA.png


I thought it'd work, bu when I tried playtesting the zone I got two problems

1: Only one of the four events suposed to make the base of the pile go where it's suppose to, which baffles me since the others three are copy-pasted from it, with only the coordinates edited
y2xvEhN.png


2: the player character becomes completely frozen: it's impossible to move him. If I change the starting location to any other map, the commands respond without any problem, but as soon as he enters THIS zone, it becomes impossible to move him.

So here comes my two-pronged question: First, how do I make the rest of the rubble pile go where it's supposed to, and Second, what freezes my character in place when I enter the zone? i know it's linked to this construct because he use dto move around fine even in this zone, but I don't know where the problem lies exactly and therefore can't fix it.
What I'd probably do is make the double pile a separate tile graphic in the tileset (cut out a few tiles you don't plan on using for that map) and use that, so you don't need to use overlapping events, lol.
the player character becomes completely frozen: it's impossible to move him. If I change the starting location to any other map, the commands respond without any problem, but as soon as he enters THIS zone, it becomes impossible to move him.
This most likely means you have an autorun event running rampant somewhere in that map.

As for your other question... (@TheoAllen I have never thought I could link it so soon XD) you can follow this tutorial if you do not feel like changing your tileset.
My first thought was exactly the same as @Milennin . Just create a separate graphics for the double/triple pile in something like GIMP/Photoshop. If there aren't enough space in your tilesets, you can always export it alone as a character.
What has been said about creating a new tileset is not wrong but just to make things clear I want to go a little deeper into this matter.

Spoiler: Going deeper, only read if you are interested
Spoiler: Events golden rule
First of all this is something you should know if you plan on using RPG Maker. It is perfectly normal for people new to the engine to not know about this but the sooner you get a grasp on it, the better (even though it looks like you already know this and did things the right way). What you should know is that unless you do something tricky you CANNOT have two events standing on the same tile.

This is no absolute rule. As I said you can do something tricky and bypass this rule but I strongly recommend not doing it in this case. I am still going to explain how to do it because knowing how to do it might be helpful later on, just be aware of the fact that you should refrain from doing it when possible.

Spoiler: How to have two events on the same tile
First of all you have to know the fact that even if you manage to have two events on the same tile you have to display one of them at the top and the other one at the bottom. Which one goes where is up to you and depends on what you want to be displayed.

Once you decided that you have to check the Through option in the event that is supposed to be at the top. That is the one and only way to bypass the rule of one event for each tile. It goes without saying that you should also set its priority to be Above Characters.

Then you have to do something similar to what you did and place other events close to that one. If you do it that way you can easily move them.

To move them you can set their new position - I am not sure it works if you do it this way because I never checked the code about this - or you can use a move route to move them by a single step (this works for sure). Based on your screenshots looks like using moveto works too so you should be able to do it that way.

Spoiler: Tricky things about move route
If you use a move route you probably want to hide your event movement. Doing so is possible but requires you to tint your screen for a while. You can use the same event you use to move everything to the designated spot to tint the screen before starting moving everything.

What you should be very careful about is to NOT check the Wait option in your move routes. The only one with the Wait option checked has to be the very last one in order to get the right timing for your next tint screen. If you check the Wait option for each move route it still works but having to wait a very long time for a simple thing is not a very good way of doing it.

At the end of it you can just tint your screen back to normal and allow the player to see the final result. When your tint screen command is executed your events are already in place due to that Wait option I mentioned above.

Spoiler: Personal thoughts
Now that I explained how to properly do this using the method you thought of I want to tell you a couple of things. They are just my thoughts based on what you originally wrote and I have no way to confirm them but in the worst case scenario you can just ignore them if you find them unfitting.

Spoiler: Good practice with Autorun events
Autorun events run in a loop whenever the condition triggering them is satisfied. You can have two different types of autorun events: those that run only once and those that should run each time the player enters a map.

Since autorun events do not allow the player to move when running you absolutely do not want them to run in an infinite loop. There are two ways of stopping autorun events and which one you should use depends on which kind of autorun event you are dealing with.

Autorun events that have to run each time the player enters a map can be stopped using Erase Event. This command does not erase the event permanently but it still erases if as long as the player stays in that map. It goes without saying that an erased event cannot run so unless the player leaves the map and goes back the event execution will be stopped (this is what you want for your events in a situation like this if you are doing it this way).

If you want to stop your event permanently then you have to make its triggering condition false. Does a switch trigger your event? Turn it off. Does a variable trigger it? Change its value so that it does no longer trigger it. Does your event start without any condition? Trigger a switch in it at the end of its contents and create a second blank page using that switch as triggering condition. Since higher pages have higher priority if a page with higher index can be triggered every page with a lower index is ignored (I know you cannot create more pages for common events but since you need a switch to trigger an autorun common event you can always handle them that way).

In your case it does look like you did not erase your event after trying to move things. If that is the case it explains why your character is completely unable to move when entering that map.

If my thoughts are correct and you did check the Through option for your events then this is one more clue that leads to an improper usage of autorun events. In fact, when your first event runs, it blocks everything else and prevents other events from running.
This most likely means you have an autorun event running rampant somewhere in that map.

Haven't had the opportunity to post the past few days.
It's just to say that this is right: the problem was a bunch of events set to autorun. I switched to parallel process and now my rubble is pilling up the way I intended:LZScheeze:

Ge6ag48.png
the problem was a bunch of events set to autorun
You are talking about a "bunch" here. It is usually better to have a single autorun event moving all the events in their respective position then stop rather than having multiple parallel process events running. It greatly improves efficiency and makes things much easier to fix should any bug show up.

Original thread: https://forums.rpgmakerweb.com/threads/uncooperative-rubble.106451/