How do I make approach events shorter ranged?

I'm not sure what I'm really looking for I tried to search available scripts but hunting in the dark on this. I want to make encounters more map based than actually using the random encounters. I haven't tested how to respawn them  when a player leaves the map but I'm sure I can figure something out.

So I want to have serveral monster events on different map area's that are "static" and approach the player as they get close to trigger fights.

Monsters.JPG
-Add the evnent 

-under autonomous movement set the type to "approach"

-set the priority to same as character

-set the trigger to event touch

-in the contents maybe you want to add a SE

-under that add start battle proccessing

-and under that add "erase event" if you want it to be there when you come back to the map, or control a self switch if you want it gone for good

I would put the erase event before the battle processing because if it is after when you get out of battle it will be there for a split second before it disappears.

As far as when the player gets close to it... im not to sure. maybe a player touch event to trigger a switch
I'd like to make the approach range shorter so that the event doesn't start chasing the player from all the way across the map.
You should use this script. 🙂
That sounds like it will work great. Thanks 🙂
This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.


Edit: Reopened at OP's request, and moved to RGSSx Script Support.
I don't know whether I have the whole thing setup wrong or if it just doesn't work correctly. I have multiple copies of the same event on a map maybe 8 or so. They are like this:

Event.JPG

As soon as a 2nd event touches my actor after the battle is over, it comes up with this error:

---------------------------
Project2
---------------------------
Script 'yea chase' line 133: NoMethodError occurred.

undefined method `move_speed' for nil:NilClass
---------------------------
OK   
---------------------------
 

Original thread: https://forums.rpgmakerweb.com/threads/how-do-i-make-approach-events-shorter-ranged.16222/