How to make actors change appearance on death?

I wanna have the characters in my RPG turn into ghosts on death (a la Earthbound), and I tried this common event but it hasn't worked:
1710685380212.png

Am I doing something wrong? Is there a better way? This is my first try with making my own common events and variables.
Oh oo, I know a hard way to do this 😀
make an actor in a ghost form, then simple remove the defeated actor, and add the ghost actor into party 😀
Keep their stats, abilities and equips and all that same though, otherwise it will defeat the purpose
I don't know how to do any of those either... I just wanna change the appearance :,[
I don't know how to do any of those either
You might want to hit the pause button on your game and do some more tutorials, first.

Change Party Member is a basic event command.

Although, I don't see any reason to be using it here - just use the Change Actor Images event command.
i did, in the original post you can see i tried that
So what's wrong?

How are you turning switch 1 on? Did you put a Show Text inside the event to double check whether it ran?

Just saying "it didn't work" doesn't give us any information to troubleshoot.
Just saying "it didn't work" doesn't give us any information to troubleshoot.
that's on me yeah, sorry :/ lol

So what's wrong?

How are you turning switch 1 on? Did you put a Show Text inside the event to double check whether it ran?

Just saying "it didn't work" doesn't give us any information to troubleshoot.

i've done that, and now i can tell it just isnt running (when the actor hp drops to 0 nothing happens, no text)
i dont understand switches, ill go watch a youtube tutorial (finally) after i send this reply, but basically ive been using exclusively common events and variables to this point, no switches
here's a screenshot of one of the variables (and other important things in relation), the rest are the same but with the other actors instead
1710801935690.png

1710801988560.png

i could also try checking for the knockout state instead maybe
So, you might want to hit the pause button on your game and go back to do some more tutorials and shore stuff up.

When you say you "don't understand" switches, that's pretty fundamentally basic stuff for RPG Maker and events (and...generally? Like, you use switches every day to turn things on and off when you go into and leave your bedroom or whatever).

You made an Autorun event that will only ever turn on if switch 1 is on, so you have to have logic someplace that's turning switch 1 on.

If your event did start running, it would never stop and the player would be frozen in the game because it doesn't turn switch 1 back off.

So I'd strongly recommend doing some additional reading in the instructions or tutorials about events, variables, and switches.

I wouldn't be trying to do this as a common event at all. I would make a map event, set it to Parallel or Autorun, put all of those commands in there followed by Erase Event. That means it will run one time every time the map is loaded.

Then copy and paste that event onto every map that has encounters. That means it'll check your party after every battle.

Original thread: https://forums.rpgmakerweb.com/threads/how-to-make-actors-change-appearance-on-death.166908/