"Hiding Enemies" Help

● ARCHIVED · READ-ONLY
Started by DarkWolfInsanity 6 posts View original ↗
  1. What I'm attempting to do is something similar to say the Whelk boss at the beginning of Final Fantasy 6.


    Every few turns or so, the enemy hides inside a shell, making it unattackable and attacking the shell will cause an attack to happen.


    Example of the Whelk:


    6b34975b779379417f1e9bb2d5b15106.png 64d8110d9bca1ba3ea880e1ae850e8d8.png


    I've got it set up to make the enemy reappear, but I'm unsure how to make it disappear in the first place (like a reverse appear halfway). Back in VXAce, there was the script fucntion that states the following that did this.


    $game_troop.members[1].hide


    However, this script function no longer exists in MV, simply giving an reference error stating that $game_troop is undefined. This is perhaps because of the move from RUBY to Java.


    How would I go about hiding an enemy now?
  2. $gameTroop.members()[1].hide();
  3. Oh my god it was that simple. ; - ; Thank you @mrcopra.
  4. Hi. I'm returning to this project after as you can tell about 3 years and I'm having the same issue again. Now the script command that mrcopra put in isn't working and I can't seem to find any way to make it work again. Help would be appreciated either in plugin form or script.
  5. What error you get?!!
  6. Hell nevermind. It was an issue on my part. I replaced the 1 with a 2 to try and hide the "other" enemy that i added to the troops second. Apparently it still removes the one I wanted when I have the 1 in place, while the 2 crashes the script. So I'm assuming that 0 would be the first enemy added.

    What would the opposite of the command be? Show, unhide, or just the call to show halfway enemies?