Hi all, it's been a really, really long time since I've been here and this may be something I've just overlooked on the forums, but it's frustrating to no end.
So, the idea I have for my game is that outside of boss battles, if the player fails in battle, it's not a game over; they'll get transported out of the area back to a medic who heals them and they can try again. If it's a boss battle, however, no such luck. I'm also using this in tandem with Yanfly's "Common Event on Death" script, to call a common event that aborts the battle when the main character gets knocked out (with the party all freaking out accordingly).
Herein lies the problem. I'm not sure if I've misplaced a call or what, but it just...doesn't work. I've set up an unwinnable test enemy and an invisible aggro state that makes sure the enemy attacks the main character to kill him first, and the party appropriately panics.
WHAT I WANTED TO HAPPEN:
- Screen fades to black
- Battle aborts while screen is faded out
- Party gets teleported back to the healer
- Screen fades back in after party is healed
WHAT ACTUALLY HAPPENS:
- Screen flashes black for a moment
- Dialogue continues but battle does not abort
Here's the setup of the common event. Like I said, I could have just missed something in arranging the calls, or it's just something not feasible with this particular script.
It just completely skips the "Abort Battle" call and keeps the battle going. I've tried it with "Can Lose" and "Can Escape" set up, but it seems that the event runs before the actual loss processes.
Should I just set up the common event to run as a troop event for every troop instead, or is this something that can be accomplished the way I'm intending?
So, the idea I have for my game is that outside of boss battles, if the player fails in battle, it's not a game over; they'll get transported out of the area back to a medic who heals them and they can try again. If it's a boss battle, however, no such luck. I'm also using this in tandem with Yanfly's "Common Event on Death" script, to call a common event that aborts the battle when the main character gets knocked out (with the party all freaking out accordingly).
Herein lies the problem. I'm not sure if I've misplaced a call or what, but it just...doesn't work. I've set up an unwinnable test enemy and an invisible aggro state that makes sure the enemy attacks the main character to kill him first, and the party appropriately panics.
WHAT I WANTED TO HAPPEN:
- Screen fades to black
- Battle aborts while screen is faded out
- Party gets teleported back to the healer
- Screen fades back in after party is healed
WHAT ACTUALLY HAPPENS:
- Screen flashes black for a moment
- Dialogue continues but battle does not abort
Here's the setup of the common event. Like I said, I could have just missed something in arranging the calls, or it's just something not feasible with this particular script.
It just completely skips the "Abort Battle" call and keeps the battle going. I've tried it with "Can Lose" and "Can Escape" set up, but it seems that the event runs before the actual loss processes.
Should I just set up the common event to run as a troop event for every troop instead, or is this something that can be accomplished the way I'm intending?