I want that when a user walk on a tile with region id 255 then he fall to the lower floor automaticly. I whant it to be activate by map. Any idea?
Hole and map change
Javascript/Plugin SupportUse a paralell event and use control variables to get the player mapx and y coordinates, than use Eventcommand Get Location Info to get
the Region ID on Player Position,than a conditional branch than if yes do your teleport and falling stuff.
Maybe this helps to point towards a possible direction for a solution.
the Region ID on Player Position,than a conditional branch than if yes do your teleport and falling stuff.
Maybe this helps to point towards a possible direction for a solution.
Set a switch that allows this Common Event to run in Parallel. You'll have to make sure that every floor with a hole properly lines up with the floor below, and that the Map ID of the floor below is one greater than the Map ID of the current floor. If you don't set up your maps properly, the results could be unpredictable. You will get an error resulting in a crash if you try to use holes on the last Map ID in your project.

And here's the project I created with that event in it.
Make sure you turn on a switch so that the Common Event runs; that's the only purpose the extra event in the corner of Map 1 serves. And remember the Wait command in the Common Event. Leaving it out will create lag in your project.
You can put the Event in a Parallel Event in the map with the holes instead of a Common Event if you only use them in one or two places.

And here's the project I created with that event in it.
Make sure you turn on a switch so that the Common Event runs; that's the only purpose the extra event in the corner of Map 1 serves. And remember the Wait command in the Common Event. Leaving it out will create lag in your project.
You can put the Event in a Parallel Event in the map with the holes instead of a Common Event if you only use them in one or two places.
ok thanks =:0) It's look like how I doing it in ACE, I hoping that can be do using javascript for be faster but I will use this method then.
Original thread: https://forums.rpgmakerweb.com/threads/hole-and-map-change.62270/