I want to make a skill that heals all allies, while also reviving any dead allies in the process. Is there any way to do this, perhaps through a plugin like yanfly's target core?
Targeting both dead and alive party members?
RPG Maker MV SupportThe best way (and one that has no issues with the targeting selection system) is a plug-in. I've heard some got it to work by setting up the skill so it calls a common event which then removes KO and heals, but that will not show the animations in the right place in my experience (though I only tried it in ACE so maybe MV will work better), nor will the targets you select when you select the action be correct (though all allies will be close).
Maybe make a common event with the "Recover all: Entire party" command, then have the skill run it in "effects"? I know this works out of battle, but not sure about inside of battle.
I don't know if you still need help but I just did this for my Cleric's limit break. To get the animations to play on all allies you will need YEP Action Sequences and any requirements for it. Then just do what Thomas Smith said and common event Recover all: Entire Party.
You will then have to create an action sequence that uses animation x: all actors or the likes. This will play the animation on both alive and dead actors. Unfortunately for my game I didn't want the cleric to have the last animation played on him but to also be played on all alive and dead members, I found no way to accomplish both goals.
What I am unsure of is if there is a way to do what you said: revive allies and then heal them with the skill. I know the Recover All Event works, but I have not tested if using a common event to just remove knockout will then have the skill in question run its action effect on the revived target.
This should at least serve as a baseline example of how to go about this.
Here is an example of the battle sequence I used (important parts bolded):
<setup action>
clear battle log
display action
immortal: targets, true
wait: 60
hide battle hud
</setup action>
<whole action>
move user: point, 600, 250, 20
float user: 200%
wait for movement
tint screen: 70, 70, 70, 70, 30
motion chant: user
motion wait: user
animation 174: user
wait for animation
face user: backward
animation 175: user
wait for animation
flash screen: white, 35
motion spell: user
motion wait: user
animation 174: all actors
wait for animation
action common event
move user: home, 20
float user: 0%, 20
tint screen: normal
wait for movement
</whole action>
<finish action>
immortal: targets, false
wait for new line
clear battle log
perform finish
wait for movement
wait for effect
show battle hud
</finish action>
You will then have to create an action sequence that uses animation x: all actors or the likes. This will play the animation on both alive and dead actors. Unfortunately for my game I didn't want the cleric to have the last animation played on him but to also be played on all alive and dead members, I found no way to accomplish both goals.
What I am unsure of is if there is a way to do what you said: revive allies and then heal them with the skill. I know the Recover All Event works, but I have not tested if using a common event to just remove knockout will then have the skill in question run its action effect on the revived target.
This should at least serve as a baseline example of how to go about this.
Here is an example of the battle sequence I used (important parts bolded):
<setup action>
clear battle log
display action
immortal: targets, true
wait: 60
hide battle hud
</setup action>
<whole action>
move user: point, 600, 250, 20
float user: 200%
wait for movement
tint screen: 70, 70, 70, 70, 30
motion chant: user
motion wait: user
animation 174: user
wait for animation
face user: backward
animation 175: user
wait for animation
flash screen: white, 35
motion spell: user
motion wait: user
animation 174: all actors
wait for animation
action common event
move user: home, 20
float user: 0%, 20
tint screen: normal
wait for movement
</whole action>
<finish action>
immortal: targets, false
wait for new line
clear battle log
perform finish
wait for movement
wait for effect
show battle hud
</finish action>
Original thread: https://forums.rpgmakerweb.com/threads/targeting-both-dead-and-alive-party-members.88329/