Issues with event switches

ok, So first of I'm using the RPG Maker MV Program.  I'm working on an event where a demon comes in and attacks the character events.  When the demon attacks one character (Kei), her sprite disappears completely.  Where as the second character (Wies) changes sprites correctly...  the event boxes for both characters that die are the same except which switch is the trigger for the change in sprite.  Please help T.T


Kei Event (Page 2).png


Main event (Kei's Death).png


Main event (Wies's Death).png


Wies's Event (Page 2).png
Is there anything on the first page of Kei or Captain Weis events?


EDIT: The only thing that comes to me without seeing their first pages is that you have Kei and Weis on Autorun for their "Trigger". Try changing those to "Action Button". Since your "Intro Event" is already an Autorun, and since the Kei and Weis Event's Page 2 do not have anything on them, they don't need to be Autorun as well. So maybe there is just a small glitch with setting all three on Autorun?


Also: is there any reason you set them both to "Above Characters"? That might also impact the situation. I would leave them as "Same as Characters" if there is no reason.
@TruRevolution


NEVER, NEVER, NEVER make an empty autorun page - that creates a lot of lag and throws off the entire timing of the game loop.


Change the trigger of those pages to action button - there is a good chance that this alone will solve the problem.


If not, you need to check if you are using the same switches for something else, for example in a plugin setting or in a common event.


Please use [alt]-[PrtScrn] for screenshots, not simple [PrtScrn] - that will limit the screenshot to the active (event) window. The screenshots will be better readable and use up less space that way
You may need to do a set move route to turn the character down either before or after changing the sprite to the 'down' pose.  Spritesheets typically have 4 rows per character - one for each facing direction.  If you change the graphic, but the row for their facing direction is empty, it will show nothing where the sprite is meant to be.  If you don't want to do a change direction before or after, and the character is always going to be facing the same way, just make sure the 'down' sprite is on the correct row for that facing direction.


Also, don't set that last event to autorun.
@TruRevolution


NEVER, NEVER, NEVER make an empty autorun page - that creates a lot of lag and throws off the entire timing of the game loop.


Change the trigger of those pages to action button - there is a good chance that this alone will solve the problem.


If not, you need to check if you are using the same switches for something else, for example in a plugin setting or in a common event.


Please use [alt]-[PrtScrn] for screenshots, not simple [PrtScrn] - that will limit the screenshot to the active (event) window. The screenshots will be better readable and use up less space that way

Ok so I changed the events to action button.  But the same issues is happening...  Both characters are facing the same direction at the time of their deaths and have selected the same sprite out of the grid for both characters damaged sprite selection.

You may need to do a set move route to turn the character down either before or after changing the sprite to the 'down' pose.  Spritesheets typically have 4 rows per character - one for each facing direction.  If you change the graphic, but the row for their facing direction is empty, it will show nothing where the sprite is meant to be.  If you don't want to do a change direction before or after, and the character is always going to be facing the same way, just make sure the 'down' sprite is on the correct row for that facing direction.


Also, don't set that last event to autorun.

I have also tried moving the characters direction with the move route command with and without the direction fix in the Move route itself.  Same thing...  One character acts as it should, and the other dissapears completely.  Is there anything else I might try?  I even tried re-exporting the "Damaged" sprites for that character and nothing.
Is there anything on the first page of Kei or Captain Weis events?


EDIT: The only thing that comes to me without seeing their first pages is that you have Kei and Weis on Autorun for their "Trigger". Try changing those to "Action Button". Since your "Intro Event" is already an Autorun, and since the Kei and Weis Event's Page 2 do not have anything on them, they don't need to be Autorun as well. So maybe there is just a small glitch with setting all three on Autorun?


Also: is there any reason you set them both to "Above Characters"? That might also impact the situation. I would leave them as "Same as Characters" if there is no reason.

no, the first page is blank with an action button.  Its there to have the standing sprite of each character,  each one of these is controlled by the "master" event box that houses the entire cut scene
As I said above, in that case you'll need to check your use of switches.


First test: use different switches. If that suddenly works, find out which other event or plugin changes the switches #3 and #4.


If that doesn't work, it means that your logic in the events went wrong somewhere - in that case please post the full event, not only the part with the control switch command.
As I said above, in that case you'll need to check your use of switches.


First test: use different switches. If that suddenly works, find out which other event or plugin changes the switches #3 and #4.


If that doesn't work, it means that your logic in the events went wrong somewhere - in that case please post the full event, not only the part with the control switch command.

@Andarok so I checked all my switches I've used, and did find some that I had when I was just testing a few things out so deleted the need for the use of those switches on those events.  Re-ran the cutscene to have the same effect.  the one character (Kei) just vanishes...  I'll post me Main event here as well


Main Event 1.png


Main Event 2.png


Main Event 3.png


Main Event 4.png


Main Event 5.png


Main Event 6.png

Original thread: https://forums.rpgmakerweb.com/threads/issues-with-event-switches.61625/