What I want to do is simple, I have a troop where there is a captain and 3 soldiers. I want the captain to buff his soldiers while they are alive, but when they are all dead I want him to stop buffing and only attack from then on out. So I have two switches, captain alone and captain not alone.
My condition for the captain using buffs is that the switch captain not alone is ON. My condition for fighting is for captain alone ON. I have it so in the troop the first page has condition of turn 0 and it sets captain not alone ON.
I've tried a few things that all seem to not work at all. No matter what when the soldiers are dead he still just keeps trying to cast buffs.
The first thing I tried was to have it check every turn (turn 0 + 1*X) and there was a condition branch for each enemy (excluding the captain) if they were all of state Incapacitated Inflicted, then it would turn Captain not alone OFF and captain alone ON. This didn't work, so I figured that the way RMVX works the enemies maybe don't have an incapacitated state.
So I made 3 pages that had conditions for each of the soldiers HP being at 0% or below. I then had it set a switch (1,2, or 3) if any of them met those conditions. I then had a page like before that checked every turn(turn 0 + 1*X) but this time instead of having the conditional fork for states, I just used it for switches. So if every switch 1,2, and 3 were turned on, then Captain not Alone OFF and captain alone ON.
Still doesn't fucking work. Pisses the shit out of me. Does anyone know what I'm doing wrong? Obviously it must either A.) not be detecting the dead soldiers, or B.) the switch based enemy skills are bogus in VX. I really don't know what to do.
My condition for the captain using buffs is that the switch captain not alone is ON. My condition for fighting is for captain alone ON. I have it so in the troop the first page has condition of turn 0 and it sets captain not alone ON.
I've tried a few things that all seem to not work at all. No matter what when the soldiers are dead he still just keeps trying to cast buffs.
The first thing I tried was to have it check every turn (turn 0 + 1*X) and there was a condition branch for each enemy (excluding the captain) if they were all of state Incapacitated Inflicted, then it would turn Captain not alone OFF and captain alone ON. This didn't work, so I figured that the way RMVX works the enemies maybe don't have an incapacitated state.
So I made 3 pages that had conditions for each of the soldiers HP being at 0% or below. I then had it set a switch (1,2, or 3) if any of them met those conditions. I then had a page like before that checked every turn(turn 0 + 1*X) but this time instead of having the conditional fork for states, I just used it for switches. So if every switch 1,2, and 3 were turned on, then Captain not Alone OFF and captain alone ON.
Still doesn't fucking work. Pisses the shit out of me. Does anyone know what I'm doing wrong? Obviously it must either A.) not be detecting the dead soldiers, or B.) the switch based enemy skills are bogus in VX. I really don't know what to do.