Staples

Villager
Member
Joined
Oct 28, 2021
Messages
6
Reaction score
5
First Language
English
Primarily Uses
RMVXA
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
44,133
Reaction score
15,532
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
6
Reaction score
5
First Language
English
Primarily Uses
RMVXA
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
3,370
Reaction score
800
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

I've been working on making a simple sprite frame system. And I'm really happy with the progress.
ZAyFw65.gif
Sketching on Milanote the new script of the system I plan to implement for VNMaker. This is making me learning Coffeescript through a crash-course I never thought I would ever take in my meager career as writer, but brings back fond memories when I was forced to learn RUBY for RPGMaker XP back in those years. Oh dear... :LZSooo:
For some reason, I found this is kinda stylist
ready to fall into another development hell...
Mega has been giving me a lot of problems as of late, so I think I'll need to switch to another cloud service. I'm considering Dropbox.

Forum statistics

Threads
117,133
Messages
1,104,842
Members
153,189
Latest member
N0Name
Top