Jump to content
New account registrations are disabed. This website is now an archive. Read more here.
  • 0
Sign in to follow this  
Leetfaction

Aggressive Enemies

Question

I'm not sure if it's possible to do this with events, but I want to make it so enemies that roam around the map will move randomly, but if you come within a certain amount of spaces from it, it will notice you and lunge at you and if it hits you, it goes into a battle scene. How can I make it so this happens? Will I need a script or is this possible with eventing? I'm using RPG Maker XP obviously.

Share this post


Link to post
Share on other sites

5 answers to this question

Recommended Posts

  • 0

I remember hearing about a script that generated EarthBound like enemies. They don't exactly lunge at you, but if you come near they'll chase you down some way. (depending on the enemy, they move differently)

Share this post


Link to post
Share on other sites
  • 0

Yeah, that's what I mean when I say they lunge at you. The enemy sees you and comes after you. I've seen ABS scripts that do it but I'm using a side view script.

Share this post


Link to post
Share on other sites
  • 0

Well I'm not much of a scripting person, but thought I would let you know that I heard about one like that. Think I heard it from rmxp.org...which I don't go to anymore. (don't even know if it still exists, lol) If you do find it let me know, cause I would like to use it myself, hate the annoying "random enemy encounter" thing, lol.

Share this post


Link to post
Share on other sites
  • 0

I was looking around and I found something called the "Enemy Detection" script for RMXP here. I'm going to try it and see if it works. The script was made by Gubid.

 

EDIT: Nice! It works and it's awesome! You use script commands in the event to make it work. I'll post the things you need to do to make the event work. It's in the original post at Chaos Project, but I'll put it here too.

 

RETURN_TO_POSITION = true

Use this to determine if you would like the event to return to its original position or not.

 

CHASE_SPEED = 4

ENABLE_SPEED_CHANGE = true

Use this to set the speed in which enemies will approach after spotting you and whether or not their speed will change.

 

VIEW_RANGE = 5

Use this to set the distance in which you must be in order to start the detection process, or escape to stop.

 

ESCAPE_RANGE = 7

Use this to set the distance in which you must escape to stop the detection process.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...