Greetings, first time I post in here, and I was in serious need of help for the following issue:
Recently I have started putting down the skills for my game, one of them in particular is a skill that Stops time (Which affects both Enemies and Allies, excluding the User, courtesy of Vizustella plugin allowing me to add <Cannot Target User> Notetag) and while I did previously tested this Skill with the MC (which can change fighitng styles, and with each style it would use different Spritesheet, and I thanks "LucasRiot" for the code template that allows me to achieve this) it worked just fine, but the moment I made another character use that, the game crashes with the error mentioned:
And this is what the log says:
By intuition I think the issue is caused by the fact that, in order to achieve the style change/Transformation, the Character already has a state on, and when another character forces a State on them, it causes the Crash, but hearing more expert opinions might help me, especially if showing the Transformation script used on the style state:
I really hope to get to the bottom of this, as I really wish to keep at least the style change mechanic (If it ends up something that can't be done, I guess I'll make a few plot changes to accomodate a more Permanent Style change at a certain point.)
Thanks for reading this far.
Recently I have started putting down the skills for my game, one of them in particular is a skill that Stops time (Which affects both Enemies and Allies, excluding the User, courtesy of Vizustella plugin allowing me to add <Cannot Target User> Notetag) and while I did previously tested this Skill with the MC (which can change fighitng styles, and with each style it would use different Spritesheet, and I thanks "LucasRiot" for the code template that allows me to achieve this) it worked just fine, but the moment I made another character use that, the game crashes with the error mentioned:
And this is what the log says:
By intuition I think the issue is caused by the fact that, in order to achieve the style change/Transformation, the Character already has a state on, and when another character forces a State on them, it causes the Crash, but hearing more expert opinions might help me, especially if showing the Transformation script used on the style state:
I really hope to get to the bottom of this, as I really wish to keep at least the style change mechanic (If it ends up something that can't be done, I guess I'll make a few plot changes to accomodate a more Permanent Style change at a certain point.)
Thanks for reading this far.