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,134
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

We must press on. For all those we couldn't save. For all those we might yet save.
FirestormNeos wrote on DarkPlasmaBall's profile.
asking this here instead of the thread in question to avoid derailing it, but I'm curious; is there a particular reason you'd include a "Terms of Use" for an RPG Maker game? Like, are there multiplayer features for the game you're working on?
The holidays are upon us! Everyone search for safety from the grocery store music!
I don't understand people sometime. Walking to work today came across someone walking the opposite way in a nice suit, I politely move to the side into the shrubbery so he doesn't have to get his suit dirty and say "good morning" as he passes me, he turns around glaring daggers and asks "why are you talking to me?" like he's bloody offended by me wishing him a good morning or something. Just, why?
I dreamed about watching Gackt concert live.
He was riding some kind of crescent moon boat.
But his appearance resembled Andhika Kangen Band (Indonesian singer),
and the first song he sang was L'arc en Ciel's Hitomi no Jyuunin.
Weird, but still beautiful though. :D

Forum statistics

Threads
117,136
Messages
1,104,883
Members
153,200
Latest member
OpalWysty
Top