MV (Resolved) Have Events do Random route and only go on specific R-numbered tiles?

Hi everyone,

Question for the experts.

Super tedious to Custom Route each event like birds, fish, butterflies, etc...
I want to keep my fish on water tiles, I want to keep my birds on sky tiles.

Is there a way to do Random Route and keep the event only to specific tiles? E.g. something like what the title says?

Fish event doing random route:
1679113098702.png


But only keep the fish to the water tiles by using R-tile layer? Is there another way?
1679113165100.png


Or perhaps...
1679113512779.png
No plugin? Use an external paralell event, check the event's regionID. Have a border region at the edge of the tiles, let's say 2. If 1, then have a variable randomized 1-4, have it go in a direction based on the number. If it can't go in that direction based on being in region 2, swap the direction out.

Plugin? Yanfly region restrictions will let you allow certain events to only be passable by events and other regions impassable for events.
Moved to: Plugin Requests
Thank you Htlaets! Region restriction is the phrase I couldn’t come up with when googling.

Thread resolved!

P.S. Love the border idea. When I have parallel events doing repetitive route movements like that, it doesn’t seem to play well with when trying to save the game.
Galv Move Route Extras has random movement on tiles with region restrictions
Thread closed

Next time you have a resolved thread, please report your post and let us know, so we can close it (without hoping to stumble on it while we're checking the forum)

Original thread: https://forums.rpgmakerweb.com/threads/resolved-have-events-do-random-route-and-only-go-on-specific-r-numbered-tiles.155906/