Blocking Enemy

freebooter

Veteran
Veteran
Joined
Oct 20, 2017
Messages
104
Reaction score
5
First Language
German
Primarily Uses
RMMV
Hello Makers,

I'd like to implement kind of spell, which blocks the way for random moving enemys. Something like the wizard is drawing a pentagram on the ground and undead enemys cannot cross the tile.

I have no idea how to start. Is it possible doing this with scripting? Or do I need a plugin? Thankful for any hints.
 

gstv87

Veteran
Veteran
Joined
Oct 20, 2015
Messages
2,248
Reaction score
1,250
First Language
Spanish
Primarily Uses
RMVXA
maybe condition the movement to regionID = 0?
alter regionID with spell?
 

Aloe Guvner

Walrus
Veteran
Joined
Sep 28, 2017
Messages
1,628
Reaction score
1,115
First Language
English
Primarily Uses
RMMV
I guess you mean for this to happen on the map (not a battle)?

If so, you could probably use the following two plugins as a combination:

Hikitsune-Red's Change Region ID
Yanfly's Region Restrictions

General Idea:
1. Yanfly's - Define a Region ID to be impassible by events (i.e. enemies).
2. Red's - With the spell, set a tile to become that Region ID
 

freebooter

Veteran
Veteran
Joined
Oct 20, 2017
Messages
104
Reaction score
5
First Language
German
Primarily Uses
RMMV
Yes, I want to happen this on the map, not in battle.

I'm gonna try what you suggested. Thanks for the hint.
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??
Yay, now back in action Happy Christmas time, coming back!






Back in action to develop the indie game that has been long overdue... Final Fallacy. A game that keeps on giving! The development never ends as the developer thinks to be the smart cookie by coming back and beginning by saying... "Oh bother, this indie game has been long overdue..." How could one resist such? No-one c

Forum statistics

Threads
105,857
Messages
1,017,019
Members
137,564
Latest member
McFinnaPants
Top