Staples

Villager
Member
Joined
Oct 28, 2021
Messages
8
Reaction score
5
First Language
English
Primarily Uses
RMMV
So I'm pretty new to RPG Maker and I had this horror game where an NPC is going to chase you through a maze, inside it, there are specific areas I want the NPC to be unable to go through but is passable by the player. Does anyone know the simplest way to make it happen? Thanks :D
 

Shaz

Global Moderators
Global Mod
Joined
Mar 2, 2012
Messages
45,544
Reaction score
16,440
First Language
English
Primarily Uses
RMMV
If it's a fairly narrow area, you can just put down an event with no sprite where you want your NPC to stop. Make sure the priority is Below Characters and Through is not checked (these should both happen by default).

An event will not move onto a tile occupied by another event, regardless of priority, unless one of them is set to Through.

If it is a large area without any kind of "bottleneck" to pass through, you might be better off using a script for "region restrictions".
 

Staples

Villager
Member
Joined
Oct 28, 2021
Messages
8
Reaction score
5
First Language
English
Primarily Uses
RMMV
If it's a fairly narrow area, you can just put down an event with no sprite where you want your NPC to stop. Make sure the priority is Below Characters and Through is not checked (these should both happen by default).

An event will not move onto a tile occupied by another event, regardless of priority, unless one of them is set to Through.

If it is a large area without any kind of "bottleneck" to pass through, you might be better off using a script for "region restrictions".
Thank you very much!
 

Roninator2

Gamer
Veteran
Joined
May 22, 2016
Messages
4,689
Reaction score
1,326
First Language
English
Primarily Uses
RMVXA
yanfly region restrict works well if you want to try that.
There are mods for it as well, that I made, if you search.
 

Latest Threads

Latest Posts

Latest Profile Posts

Last missing piece, a plugin to let weapons and armor be used as multiple equip types
What if the Actor Battlers disappeared when your selecting enemies...
ndyhHXV.gif
So, last chance to get RPG Maker Fes games?
That moment when you significantly rewrite about 80% of a course, reduce it from 12 hours to 8, drastically refocus the content, provide several overview briefings to staff on the changes, giving them several weeks to prepare, & they start asking questions 10 minutes before the classes start. I have a bad feeling. :oops:
Forgot to add this to my stream thumbnail collection, nothing to see here. Move along. :kaoswt:

Forum statistics

Threads
129,959
Messages
1,206,555
Members
171,178
Latest member
sharonmarsh8091
Top