Help - Search - Members - Calendar
Full Version: Appearing/Disappearing Enemies?
RPG RPG Revolution Forums > Game Engines > RPG Maker VX Ace Discussion
Zyria
I was wondering if it was possible to have enemies appear mid-battle and disappear later on in the fight (without dying or escaping) while still retaining all their Hp. Is there a way to do this through events or is there some sort of script out there that can do this? Thanks in advance.
Jens of Zanicuud
Well, let's see...you could add a Script to the Battle Event page and write something like this:

CODE
$game_troop.members[index].hide

to hide one of the enemies (index is to be replaced with the enemy's index, 0 being the first one);

CODE
$game_troop.members[index].appear

to make one hidden enemy appear halfway (index is to be replaced with the enemy's index, 0 being the first one);

I hope this can help,

Jens
Zyria
Nice, thanks, that's exactly what I'm looking for.
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.