Help - Search - Members - Calendar
Full Version: Monster respawns [solved]
RPG RPG Revolution Forums > Game Engines > RPG Maker VX Discussion
Ignasis
I'm trying to have my encounters appear on the map instead of using randoms, but I'm having a problem with getting them to respawn after I kill them... Does anyone think they can help me with this either via events or refer me to a script that allows this?
amerk
Depends on when you want them to respawn. Easiest way is to erase the event right after the fight, and then when you leave and return to the map the monster event returns.
Ignasis
QUOTE (amerk @ Apr 13 2012, 09:51 AM) *
Depends on when you want them to respawn. Easiest way is to erase the event right after the fight, and then when you leave and return to the map the monster event returns.


yes thats exactly what I was trying to do though I'm not sure how to set up the event right not I have it on event touch triggers battle
then on the win condition its set to erase the event and turn self switch a on ..... maybe thats where I'm going wrong... because when I re entered the map the monster wasn't there.

Thanks Amerk yeah my problem was the self switch
Kali3
QUOTE (Ignasis @ Apr 13 2012, 10:05 AM) *
QUOTE (amerk @ Apr 13 2012, 09:51 AM) *
Depends on when you want them to respawn. Easiest way is to erase the event right after the fight, and then when you leave and return to the map the monster event returns.


yes thats exactly what I was trying to do though I'm not sure how to set up the event right not I have it on event touch triggers battle
then on the win condition its set to erase the event and turn self switch a on ..... maybe thats where I'm going wrong... because when I re entered the map the monster wasn't there.

Thanks Amerk yeah my problem was the self switch

You could also do that after you defeat a monster, after certain time, he comes back. You can set up that event like so:
-Put the activation of this event on player touch and battle processing slime (for example).
-When win, control self switch a to on
-New page for this event, when self switch a is on
-wait x many frames
-control self switch a to off
*remember that on second page,trigger must be set on parallel process.
Hope this helps, Kali3
amerk
@Kali3: Thanks for explaining that. I was trying to think of it, but I haven't evented such a method yet and couldn't.

@Ignasis: Correct, erase event eliminates the need for a self switch, but only if you want the event to repeat itself every time you re-enter the map, or until other conditions are met down the road. Also, both Kali3 and my method will work, although Kali3's method will allow monsters to reappear while the player is still on the map. His initial set up requires a bit more work, but it will get you to work with more complicated events, plus once you set up the first event like that, you can copy and paced the event for all monsters and just make minor tweaks to the sprite you want to show and battle troops.

This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2013 Invision Power Services, Inc.