Monster Battles
RPG Maker VXAce SupportCreate an event with just one event page. It will have the monster graphic, an Event Touch trigger, and if you want it to approach the player, set the Autonomous Movement to Approach (or Towards Player, or whatever it's called).
In the event commands, add Battle Processing, then Erase Event.
So when you bump into the monster, or the monster bumps into you, the battle will happen, then the monster will disappear from the map. When the map is reloaded, the monster will be back again.
If you want it to be gone permanently (like a boss that you only want to fight once), instead of Erase Event, do a Control Self Switches to turn a self switch on. Then create a second event page with no graphic, and in the conditions, select Self Switch, and choose the self switch that you just turned on.
In the event commands, add Battle Processing, then Erase Event.
So when you bump into the monster, or the monster bumps into you, the battle will happen, then the monster will disappear from the map. When the map is reloaded, the monster will be back again.
If you want it to be gone permanently (like a boss that you only want to fight once), instead of Erase Event, do a Control Self Switches to turn a self switch on. Then create a second event page with no graphic, and in the conditions, select Self Switch, and choose the self switch that you just turned on.
you could also combine it with event sensor script.
for example moghunter.
http://www.atelier-rgss.com/RGSS/System/ACE_SYS03.html
create event for 'standing' monster. give it patrol movement route if necessary.
give it sensor range.
create another page that will be activated when entering the sensor range. 'chasing' monster event.
set that page's movement route to chase the player. the rest is what shaz said above.
for example moghunter.
http://www.atelier-rgss.com/RGSS/System/ACE_SYS03.html
create event for 'standing' monster. give it patrol movement route if necessary.
give it sensor range.
create another page that will be activated when entering the sensor range. 'chasing' monster event.
set that page's movement route to chase the player. the rest is what shaz said above.
If you really are a newbie though (and I suspect so because it's a pretty simple thing to do), I suggest avoiding scripts for a while - until you find something that you NEED one for. It's just another area where things can go wrong if you get into it without really knowing what you're doing, especially if you don't have an actual need.
Original thread: https://forums.rpgmakerweb.com/threads/monster-battles.21115/
