I apologize if this has been solved before, but a thorough search proved fruitless.
I would like to use a caterpillar script like Woratana's, but when a character in the caterpillar dies the graphic does not reflect his changed status. I created semi-transparent doubles for my characters and facesets and set to work trying to get them to trigger. I would like any advice from those more skilled than I (e.g. everyone) on whether I am doing this the right way.
I started by creating a common event for a test character. This event was on parallel process and triggered by a switch activated before the battle (in theory, it could be activated when the game first starts). If the test character's state was "dead," it changed his graphic and faceset to the transparent version, creating a ghost image of the character. I then tested it in a battle and killed him, and sure enough, it worked.
However, I'm having difficulty resetting the graphic when I revive him. The same process in reverse simply doesn't work.
I think the best way to do this would be to avoid using a common event and have it operate on a simple switch, but I don't know how to do that. In theory, it would have to be triggered in a battle, but it needs to work in random, unscripted battles as well. Is there a script for this already?
Any help would be greatly appreciated. Thanks in advance.