I'm trying to create a skill which kills the user, but revives the whole party as a result. (Excluding the user) I'm not sure what I'm doing wrong.

Screenshot (24).png
Screenshot (25).png
Screenshot (26).png
many things.

first off, ALWAYS name your switches, variables and common events. That name will be your hint that the switch etc is already used (preventing accidental double use) and tells you what it is used for.

second, a parallel without a wait will create a lot of lag because it runs sixty times per second - always include a few waits in a parallel, between one and ten depending on the timing.

third, why do you even use a parallel? why not simply attach it to the skill without a trigger at all?

Then, you do not exclude the skill user from resurrection so that part of the skill will always revive the skill user as well.

Additionally, killing an actor removes all states but the death state, making the chosen state like you do it useless.

you'll need to sequence the different commands.

1)apply the chosen state but do not damage the actor
2) attach a common event to the skill - no trigger
3) first command in the common event is remove death state and heal everyone.
4)THEN, check every actor to find the one with the chosen state and apply the death state to that actor only as last action
many things.

first off, ALWAYS name your switches, variables and common events. That name will be your hint that the switch etc is already used (preventing accidental double use) and tells you what it is used for.

second, a parallel without a wait will create a lot of lag because it runs sixty times per second - always include a few waits in a parallel, between one and ten depending on the timing.

third, why do you even use a parallel? why not simply attach it to the skill without a trigger at all?

Then, you do not exclude the skill user from resurrection so that part of the skill will always revive the skill user as well.

Additionally, killing an actor removes all states but the death state, making the chosen state like you do it useless.

you'll need to sequence the different commands.

1)apply the chosen state but do not damage the actor
2) attach a common event to the skill - no trigger
3) first command in the common event is remove death state and heal everyone.
4)THEN, check every actor to find the one with the chosen state and apply the death state to that actor only as last action
Screenshot (27).png

I feel stupid saying this. It's... not working. I'm obviously missing something, but based on what I can gather, I did everything you told me. The thing is, I wanna make sure that if they're affected by the Chosen state, that they can't be brought back until the battle ends. I obviously didn't manage that.
Screenshot (28).png
Screenshot (29).png
I wanna make sure that if they're affected by the Chosen state, that they can't be brought back until the battle ends
You can't do that without plugins.

As Andar already explained above, dying removes all states. There's no way without coding to do what you want here. If you use VisuStella's Skills and States and Battle Core, this is easily done in a couple of lines of code in notetags.
You can't do that without plugins.

As Andar already explained above, dying removes all states. There's no way without coding to do what you want here. If you use VisuStella's Skills and States and Battle Core, this is easily done in a couple of lines of code in notetags.
Ah, I see... thank you for the info.
that they can't be brought back until the battle ends.
That info was missing in your first descriptions, because that is what cannot be handled by default death.
However if you were willing to go for a pseudo-death (custom death state that is not the official death state but has the same effects), then it would be possible to do almost everything even without a plugin. It would be a bit tricky and it would disable the automatic game over on all death (because one of your actors wouldn't be dead) but it can be done that way.

Original thread: https://forums.rpgmakerweb.com/threads/im-trying-to-create-a-skill-which-kills-the-user-but-revives-the-whole-party-as-a-result-excluding-the-user-im-not-sure-what-im-doing-wrong.161412/