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

aspdmulti

Villager
Member
Joined
Aug 18, 2021
Messages
8
Reaction score
2
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
8
Reaction score
2
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,906
Reaction score
8,599
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,501
Reaction score
1,728
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 Posts

Latest Profile Posts

i only have one decent song and i dont even think it fits for a video game
Update: I finished the combat arena! My goodness, it took a while! There were numerous little bugs to squash.
Maldra wrote on stramin's profile.
Hi regarding the 32 bit -> 64 bit
I am running on a 64 bit windows OS and tried doing this conversion. I converted all of the .exe files that I could find in the KADOKAWA\RPGMV folder using the 4gbpatch.exe file. However, after trying to access RPG Maker MV after this conversion, it simply will not load. Do you have any advice or any ideas?
****ing muscle memory: does anyone else habitually quit out of test play when they notice something they """HAVE""" to fix, in spite of the fact that you can now edit DURING test play?

...thousands of times...

...every day?
Does anyone recognize him? :kaocry:
pwkyiDa.jpg

And hi.

Forum statistics

Threads
115,928
Messages
1,094,139
Members
151,188
Latest member
yuangou
Top