Help - Search - Members - Calendar
Full Version: Enemies that follow
RPG RPG Revolution Forums > Game Engines > RPG Maker VX Discussion
KD648
The game that I'm working on right now has no random battles, It's got monsters (Events) that roam the 'overworld' (A grid of 50 by 50 square maps) that battle the player when it runs into them. However, right now, they're just floating around the map randomly, which is more obnoxious than menacing (the same problem with random battles).

Is there any way to make it so that the monsters follow the player around when the player is within a certain radius? Games like Okami, or the "Tales of ________" series have done this, and I feel like it's the right level of having battles be frequent and occasionally unavoidable without becoming irritating.

I'd prefer to avoid scripting, just because I'm not that experienced with it. I'd rather have a parallel process running on each grid that 'controls' the monsters AI, but I can't figure out how to only make the monsters approach when the player gets too close. Does anyone with more experience have any ideas?
SEBA
Yap, i know a method to do what you want, but first it's important know if you know how use variables and coordinate. Thats point are very importants xD, if you doesn't know, would be absurd to explain that not make sense to first.

But another method inefficient, put events peripheral to the "monster", that move at the same time around him, and if collision with an event that you will notice, but it is very problematic, because if you initially move randomly not serve, and ultimately becomes very problematic.

Sorry about my bad english.

bye
Ghun
This is very easy and u do not need variables. Open the monster's event page. Look at left side where it shows the graphic. Beside it is the Autonomous Movement. Click the drop box that says Type: Click Approach. This will make you enemies move towards the player. Also make the event processing to event touch. Once the Event reaches the player it will make him battle with it.

~Good luck if this solved your problem.
Otaku Son
SEBA, every time I see you write something, I just want to take whatever it is you have lodged in your ass and slap you with it.

Ghun, your method doesn't work, either; the original poster asked for "If the player is within a certain radius."

So, KD648, what you'll want is YanFly's "Event Chase Player" script. I'm not going to teach you about scripting, especially since there're plenty of instructions on that site already.
KD648
Solved. Thanks to everyone for their advice!
Ghun
Ahh, I didn't see that. Thanks for the heads up. Sorry for the misdirection.

smile.gif
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2013 Invision Power Services, Inc.