Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

Event Help - Roaming Monster AI in RMXP

Hi! I'm sure that this is a basic question but I'm just learning how to use RMXP. I did a forum search, and a google search, and a youtube search, and basically came up with nothing although that's probably because I have no clue what keywords to use.

But ANYWAY, random battles are the bane of my existence so my enemies are visible on the map. I'd like to them to randomly move around and do their own thing (I'm good on that bit), but when the player comes within a few tiles distance I want the monster to give chase. I know that this requires variables, and honestly don't know how to use those yet (but hey this is a great example to learn from!). So any help would be greatly appreciated. :angel:
 
Awesome, thank you so much. I'll try it out tonight and let you know how it turns out. :)

Edit: Ok eventing implemented. That worked great thank you, the only broken link was to the graph you made.
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top