RMRK is retiring.
Registration is disabled. The site will remain online, but eventually become a read-only archive. More information.

RMRK.net has nothing to do with Blockchains, Cryptocurrency or NFTs. We have been around since the early 2000s, but there is a new group using the RMRK name that deals with those things. We have nothing to do with them.
NFTs are a scam, and if somebody is trying to persuade you to buy or invest in crypto/blockchain/NFT content, please turn them down and save your money. See this video for more information.
[XP] Nonrandom Battle Event System

0 Members and 2 Guests are viewing this topic.

***
Rep:
Level 87
Embrace the stillness of eternity.
Nonrandom Battle Event System
Version 1.0
Author: Mjustin

Version History


  • 1.0: Functional nonrandom battle event system.


Description


This system allows you to have enemies on the map that will attack you and initiate a battle (not an ABS). There's probably a script for this already, since there's a script for just about everything, but this can be for people who don't want to use scripts.

Features


  • Enemies wander around on the map. When you come within their area of sight, a 5-square radius, they will begin to chase you.
  • Enemies will stop chasing you if you leave their area of sight.
  • Handles at least four enemies on one map.


Screenshots


Just the one:




Demo


Here it is.

The mapping isn't exactly top-notch, but I think it's forgivable considering this is just an event system demo.


Author's Notes


  • I've currently got the system configured to handle four enemies on one map. I'm not sure what the limit is, and I'm not sure what'll happen if you get all four enemies to chase you. I've gotten three to chase me, and it seemed to work fine.



Thoughts? Questions? Comments? Criticisms? Hope you like it!

*
Rep:
Level 97
2014 Most Unsung Member2014 Best RPG Maker User - Engine2013 Best RPG Maker User (Scripting)2012 Best Member2012 Best RPG Maker User (Scripting)2012 Favorite Staff Member2012 Most Mature MemberSecret Santa 2012 ParticipantProject of the Month winner for July 20092011 Best Veteran2011 Favourite Staff Member2011 Most Mature Member2011 Best RPG Maker User (Scripting)2011 Best Use of Avatar and Signature Space2010 Most Mature Member2010 Favourite Staff Member
This looks good. Is there a handler that once you get far enough away the event stops chasing you?

Anyway, it's insignificant, but it might be something to add at a later date if it's not already in iy. This looks good.

***
Rep:
Level 87
Embrace the stillness of eternity.
Thanks, and yes, there is. I put it in the Features section; I've now changed the wording to make it more clear.

********
Hungry
Rep:
Level 96
Mawbeast
2013 Best ArtistParticipant - GIAW 11Secret Santa 2013 ParticipantFor the great victory in the Breakfast War.2012 Best Game Creator (Non-RM Programs)~Bronze - GIAW 9Project of the Month winner for December 2009Project of the Month winner for August 20082011 Best Game Creator (Non RM)Gold - GIAW Halloween
very nice work, now if someone asks how to do this, I can point them here :D
any useful addition to the database is a good contribution

FCF3a A+ C- D H- M P+ R T W- Z- Sf RLCT a cmn+++ d++ e++ f h+++ iw+++ j+ p sf+
Follow my project: MBlok | Find me on: Bandcamp | Twitter | Patreon

**
Rep: +0/-0Level 84
Onward to failure! March you heathens, MARCH!
Good job! This should help with my game I'm making... if I have your permission, of course.
The biggest mistake of RMRK since 2009...
~Darkblast

***
Rep:
Level 87
Embrace the stillness of eternity.
Feel free to use any of my event systems for any project.