YanFly Region Restriction - Restrict multiple regions

CreativeVulpine

Villager
Member
Joined
Jan 1, 2019
Messages
13
Reaction score
14
First Language
English
Primarily Uses
RMMV
How do I restrict multiple regions to events.
I want the event to not pass through regions 1 and 2, while only allowing the player to pass through region 2.
I tried just added the region as shown, however it then cancels the restriction on region 1.


 

samkfj

Bug Powder
Veteran
Joined
Apr 9, 2016
Messages
360
Reaction score
3,929
First Language
English
Primarily Uses
RMMV
Just keep it as only one value per number.

In other words-- Make number 1 to restrict player, 2 to restrict event, 3 for all, 4 for player allow--and onward.

So that way, when you paint your map, you'll have the various colors/values to represent the specific movement restriction you want.

PS: I personally use 255 and downward, since they're at the bottom of the list... maybe am just backwards.

Edit: Gonna make a picture so I can explain what I mean--brb.


Edit 2:

For that map ^ The 255s restrict all, the 251s allow event (this keeps the fishes in the water moving, and they cannot move out of the 251s, as the water acts as a wall to them) and the 254s are event restrictions, so the player can move through them, but the events cannot.

Under the 254 at the rock bridge in the center, is a ghost. The ghost runs toward the player but cannot cross the 254 block so when the player steps on the 254 block (I moved the event that's above it to show the 254 block) the ghost disappears.
 
Last edited:

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Profile Posts

Who shares/sells their scripts/plugins on itch.io? Can I pick your brain?
If you ever need fantasy names and you're bored, make a fictional alphabet. Switch around the letters and see what you get :p
I JUST GOT PROMOTED TO 9TH GRADE BOIS!
On a scale of one to I just drew a pineapple with hairy legs how bored are you today?
Everybody else: We want this, this, this, this, this, and this, and don't forget that, plus that.... we need all of it added to the new RM.

Me: Just don't make me learn a new programming language. :kaoback:

Forum statistics

Threads
98,168
Messages
949,905
Members
129,453
Latest member
tanzx
Top