So I've been using RPGM for about a week now. I'm usually pretty good at figuring things out, but for some reason this is giving me hell. I have a boss battle where my main character's brother is on screen along with the Ogre and the MC. I've got the battle to work, but I'm having trouble cutting off the NPC events so that the ogre doesn't appear on screen after the battle. The same thing goes for the "brother" NPC. Any advice would be great!
Difficulty making NPC events disappear.
RPG Maker VXAce SupportWhat you do is you make the battle activate a switch. You then create a second event page for both the brother and the ogre, and put the switch being on as a condition for the page. Leave the page empty and without a graphic. What this does is it shows the ogre and brother until the switch is turned on, and at that point the event goes to the second page which doesn't contain anything.
Hope that helps =)
Hope that helps =)
That didn't work. It was basically how I had it set up. The Battle Processing starts at the end of a cutscene and then I have it turn Self Switch A on. After the battle, the NPCs are still there. I attached screenshots of my events. The first two are the brother NPC event and the last is the battle processing event.






Did you set up the command were the switch turns ON in the event?
Yes...or at least I think so. I added screenshots to my post above. You're welcome to see if you can figure out what I did wrong.
Ah I see you're problem. Switches and Self-Switches are two different things. Self Switches effect things inside the event it's self. Switches effect everything in the game tied to it. You're gonna' want to make a switch that ties to the next event page, not a self-switch.
The problem is that you use a self-switch here, which only exists in one single event. Basically every event you ever make has 4 private switches that can only be used in that specific event, called self-switches. These cannot be accessed or read anywhere else.
What this means is that you set self-switch A to ON in event 002, and then try to access it in the Thomas-event. The problem then is that these are two different self-switch A's, since every event has its' own self-switch A. What you need to use is a normal switch instead.
What this means is that you set self-switch A to ON in event 002, and then try to access it in the Thomas-event. The problem then is that these are two different self-switch A's, since every event has its' own self-switch A. What you need to use is a normal switch instead.
Ha I figured that out about three seconds ago, I've watched several switch tutorials but I guess I didn't pick up on the distinction. So my NPC events are vanishing, which is great, but they do so only afte the battle is complete so for about 1 second after the Battle screen ends they are still onscreen. Any way to fix that?
Thanks for both of your help tho! I really appreciate these forums.
Thanks for both of your help tho! I really appreciate these forums.
No problem. The best thing I can tell you is while you're in the battle when the enemy's HP hits zero activate the switch. You can do this in the enemy troop tab.
I don't know right now =/ I'd have to try that out when I come home since I'm at university right now, but maybe changing the switch before the battle processing could do the trick? They might disappear before the screen changes to battle-mode though, but if the change is quick enough it should work out.
Otherwise there are a few "ugly" ways to solve this, if you wish. You could for example have a switch before the battle processing trigger a second event set to parallel process, that waits for example 10 seconds before triggering the actual "disappearance-switch".
EDIT
Uzuki's method is preferable, find a trigger in the battle to set the switch. Didn't occur to me, noob as I am ^^
Otherwise there are a few "ugly" ways to solve this, if you wish. You could for example have a switch before the battle processing trigger a second event set to parallel process, that waits for example 10 seconds before triggering the actual "disappearance-switch".
EDIT
Uzuki's method is preferable, find a trigger in the battle to set the switch. Didn't occur to me, noob as I am ^^
Brilliant! I wouldn't have thought of that. It works! But I couldn't get it to work at 0% health so I changed it to activate the switch at 50% health and when the battle was over, they were gone. Thanks again!
It doesn't really matter what the health is - I would normally do something like this right at the start of battle.
This is working on the assumption that the only way to get back to the map and see them gone is to win the battle. If you lose the battle, it's game over, and the game won't be saved with the switch turned on, so when the player loads the saved game, it'll be prior to the battle, the switch will still be off, and the NPCs will still be there.
This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.
This is working on the assumption that the only way to get back to the map and see them gone is to win the battle. If you lose the battle, it's game over, and the game won't be saved with the switch turned on, so when the player loads the saved game, it'll be prior to the battle, the switch will still be off, and the NPCs will still be there.
This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.
Original thread: https://forums.rpgmakerweb.com/threads/difficulty-making-npc-events-disappear.24940/