Can I make an event impassable to another event but passable to me ?

aspdmulti

Villager
Member
Joined
Aug 18, 2021
Messages
5
Reaction score
1
First Language
Bahasa
Primarily Uses
RMMV
First of all, i am using yanfly core engine. Now the question :
I try to make a hole on the floor event that can with [Tileset B]. When my character step on it, it transfer me to another location. Problem is, that hole i am using isn't passable even though I set it at below character. That's why i check the through checkbox. Now because of that, the enemy chasing me can go through the hole. I want to make the enemy to dodge the hole. Any suggestion ?
 

Tiamat-86

old jrpg gamer
Veteran
Joined
Dec 5, 2017
Messages
970
Reaction score
432
First Language
english
Primarily Uses
RMMV
do you also happen to have yanfly region restriction? with that you can setup regions that block events but not player and vise versa.
(i tend to put them infront of doors cus i hate when NPC blocks a doorway)
edit: region restriction its part of the free bundle
 
Last edited:

aspdmulti

Villager
Member
Joined
Aug 18, 2021
Messages
5
Reaction score
1
First Language
Bahasa
Primarily Uses
RMMV
WOW ! Thank you so much ! You're not just solving my problem, but you just make my future project a lot easier to build !
do you also happen to have yanfly region restriction? with that you can setup regions that block events but not player and vise versa.
(i tend to put them infront of doors cus i hate when NPC blocks a doorway)
edit: region restriction its part of the free bundl
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
33,879
Reaction score
8,587
First Language
German
Primarily Uses
RMMV
that hole i am using isn't passable even though I set it at below character.
below character with a tileset does NOT mean that the tile becomes passable, it means that the passability of the tile that is used for the graphic will become priority.

If the tile itself is passable in the tileset, then that event will be passable. If not then not.

The usual solution is to make the hole part of the map, and use a passable tile (for example a ladder) as part of the event graphic. That would automatically work like you want, blocking other events but allowing the player to enter without any script use.
 

ShadowDragon

Realist
Veteran
Joined
Oct 8, 2018
Messages
4,492
Reaction score
1,723
First Language
Dutch
Primarily Uses
RMMV
events can be used for same or below, easy control for passability,
region restriction mentioned Tiamat-86 might work nicely, but it will
ALWAYS restricted, and not temporarly! but if you want to toggle
it ON and OFF, I Suggest to use (in combination with RegionRestriction
the plugin [RED_setRegionID] because it gives you more control, and
you can disable, enable restriction when needed.

example:
a path is blocked but open in sight, but noone can enter (page 1)
if you have switch, you can remove this as a blank page on 2 with
the switch condition to make is passable. or change the ID of
the region from 20 to 21 or from 20 to 25 depending on the restriction,
switch, loot, etc etc.

you can play around with it, but in combination with YEP_RegionRestriction,
you have total control how things works :)
 

Latest Threads

Latest Profile Posts

One uncomfortable truth that has withstood the test of time, is how most people will stand by while they see a crime happening, unless it's illegal to stand by. We probably wouldn't have stories about "special heroes" or games about heroes if the "everyday common folk" were largely capable of being heroes. Heroes face dangers that most people are not willing to.
I'm having toooo much fun designing the new MP (Mental Psyche) system. I've only worked it out for enemies so far, but it's fun to stun them, then go after their MP and delete them instead to farm for better item drops.
anyone know of a place I can promote my game? sorta like game awards but for indie devs, like a place where I can drop a trailer and like stir up some hype
Doing RPG Maker News for 17th October 2021

That moment when you came up with a very good game title, but when you searched it, it has already been used... T.T

Forum statistics

Threads
115,876
Messages
1,093,677
Members
151,123
Latest member
Smitty
Top