Scripts used:
Yanfly Core
Yanfly Battle Engine
Yanfly Death Common Events
So I'm just testing out the Wipe-out event (the common event that runs when your party gets wiped out) and so far it had absolutely no problems,
But then I made a battle event that involves Force Action, and if the user is killed by it, the game crashes with a Stack Level Too Deep error.
Demo Attached:
https://mega.co.nz/#!HFERFI5K!c1pzvofFhNXoFJS9fFXQsdXo340GMz1G_mDB_AlJD5A
Without Yanfly Core and Yanfly Battle Engine, the defeat message pops up multiple times.
Any help would be appreciated.
If there's any important information I missed, please do tell.
[VXAce] Another problem with Yanfly Death Common Events
● ARCHIVED · READ-ONLY
-
-
Scripts tend to alter a lot of the default scripts.
Yanfly's Death Common Events script is not the first I have heard of that has issues with the 'Forced Action' command.
It may be better for you devise of another way to tackle your cutscene. -
Problem is, what I'm trying to do is to create an animated "GAME OVER YOU HAVE DIED" through pictures or eventing (as seen in the demo) when the party is defeated, instead of the old "Your party has been defeated" on a standard message window.
It's more of a cosmetic thing, but still... I'm not sure how to do it other than eventing since I have only a little amount of knowledge about RGSS scripting and can only modify existing scripts (frankenscripting?) to suit my needs. -
You can try replacing Yanfly's Death Common Events script with Hime's Gameover Events script :
http://himeworks.com/2013/10/gameover-events/
It doesn't seem to have any issues with the 'Force Action' command. -
Hime's script replaces the Gameover scene, which plays after the battle has finished. I wanted the event to occur before the battle ends, while still in Scene_Battle like how Yanfly's is...
-
Maybe the fact that Yanfly's script takes effect while still in the battle scene is the reason why the 'Force Action' command is having issues.
I'm sorry, but I'm not able to provide you with anymore assistance than this.
I hope someone else will be able to help you with your problem. Good luck! -
It's alright, thanks...
I hope so. -
This script runs after the defeat message but before leaving the battle scene
http://himeworks.com/2013/05/post-battle-events/ -
Tested it out, still doesn't seem to work (It still crashes with "stack level too deep")
I switched it around and even used the default defeat message before the event runs but it still crashed. -
That script isn't meant to fix yanfly's common event issue.
-
Yeah, I know, which is why I removed Yanfly's script beforehand.
I tried converting the common event as a regular event page for each troop, and then running it to see if it works differently, but nope.
It's either something's wrong with my event (since I'm using pictures) or force action just breaks events, common event or not.