I've had an idea that works in the battle editor, but I want to know if anyone has a better/more efficient way of doing it. I want enemies to follow a certain hierarchy. It's not nearly as complex as it sounds. In certain enemy troops, there is a commander enemy and a bunch of grunt enemies. The commander enemy doesn't attack often but he can buff the grunts stats, making the little guys dangerous. The player can either focus on the grunts and take on the big guy on his own. Orrrrrr, if the player takes out the commander, the little guys get inflicted with the Fear status effect, making the fight easier.
My issue is the way that I've been doing it. I select the commander troop with a conditional branch, then once their HP reaches 0%, I choose each individual grunt enemy and set their status to fear. Is there a more efficient way of doing this so I don't spend as much time editing each troop that has this mechanic?
I'll include a screen cap of how I've been doing it. When there is more than one commander and multiple grunts, things can get pretty tedious controlling which grunt gets the status effect.
My issue is the way that I've been doing it. I select the commander troop with a conditional branch, then once their HP reaches 0%, I choose each individual grunt enemy and set their status to fear. Is there a more efficient way of doing this so I don't spend as much time editing each troop that has this mechanic?
I'll include a screen cap of how I've been doing it. When there is more than one commander and multiple grunts, things can get pretty tedious controlling which grunt gets the status effect.