So, I really want to use Jragyn's ABS (JABS) plugin to have a little ABS system in my game alongside VisuStella's Button Common Event Plugin so that I can have only 1 character battling at a time, but switch between them. (Think Character A uses a knockback, switch to B for a ranged attack for example)
The problem is, if I switch Characters A and B, character A still continues taking damage even though they are not the party leader any longer. If I open the main menu and close it again, however, character B (who was switched to be the new leader) now takes damage as intended.
Showing the whole thing:
(Please ignore the weird combat graphics, I'm trying to make it work before I make it cute XD)
As you can see, I have two characters (blue and purple).
Blue takes 3 damage and then switches to Purple, who is also hit for 3.
However, we can see that Blue's HP is now 6/12 and Purple's is still 12/12.
Upon coming back from the menu, the right character is taking damage again.
If I do the same switching error, but let the character who is not in 1st place, but is still taking damage, die, the monster loses interest in me and the 'death' animation does not play until I switch again (Usually my game hangs at this point, as I have set the switching so that a dead character cannot be party leader, but I just used a simple "$gameParty.swapOrder(0, 1);"
script to switch in this instance so I could show the member in formation 2 was dead. It does the same thing with the below script though.)
I don't get any errors in the console during any of this.
Switching script:
Bound to the 'A' button in VisuStella's Button Common Event Plugin
I'm guessing the scene change/ refresh that happens when I open the menu is needed for the JABS plugin to realise who it's fighting? Rather than it just fighting the party leader at any moment?
Is there some way for me to refresh the whole scene without having to open and close the menu?
Or some modification I should perhaps make in JABS...?
Anyone have any ideas...? :'D Hopefully I'm not trying to force the impossible here.
I wasn't sure if I should post here, or directly in Jragyn's plugin release thread, but opted for here so as not to clutter his thread (and since the issue is me doing something weird, not directly with his plugin). But let me know if this is in the wrong place!
(((Whew, at some point I may just have to switch back to normal battles, what with how many issues I'm running into trying to get this all to work haha. :')
I'm sure it'll be worth it in the end! Thank goodness for these forums.)))
The problem is, if I switch Characters A and B, character A still continues taking damage even though they are not the party leader any longer. If I open the main menu and close it again, however, character B (who was switched to be the new leader) now takes damage as intended.
Showing the whole thing:
(Please ignore the weird combat graphics, I'm trying to make it work before I make it cute XD)
As you can see, I have two characters (blue and purple).
Blue takes 3 damage and then switches to Purple, who is also hit for 3.
However, we can see that Blue's HP is now 6/12 and Purple's is still 12/12.
Upon coming back from the menu, the right character is taking damage again.
If I do the same switching error, but let the character who is not in 1st place, but is still taking damage, die, the monster loses interest in me and the 'death' animation does not play until I switch again (Usually my game hangs at this point, as I have set the switching so that a dead character cannot be party leader, but I just used a simple "$gameParty.swapOrder(0, 1);"
script to switch in this instance so I could show the member in formation 2 was dead. It does the same thing with the below script though.)
I don't get any errors in the console during any of this.
Switching script:
Bound to the 'A' button in VisuStella's Button Common Event Plugin
I'm guessing the scene change/ refresh that happens when I open the menu is needed for the JABS plugin to realise who it's fighting? Rather than it just fighting the party leader at any moment?
Is there some way for me to refresh the whole scene without having to open and close the menu?
Or some modification I should perhaps make in JABS...?
Anyone have any ideas...? :'D Hopefully I'm not trying to force the impossible here.
I wasn't sure if I should post here, or directly in Jragyn's plugin release thread, but opted for here so as not to clutter his thread (and since the issue is me doing something weird, not directly with his plugin). But let me know if this is in the wrong place!
(((Whew, at some point I may just have to switch back to normal battles, what with how many issues I'm running into trying to get this all to work haha. :')
I'm sure it'll be worth it in the end! Thank goodness for these forums.)))