Hi,
I'm trying to create a Skill that lets only my main character, Avery, temporarily swap out for an inactive ally (who we'll call Quin for reference) mid-battle.
Currently this involves the core VisuStella plugins, as well as VS Battle Grid and VS Party System. By using some notetags and weird workarounds, I've successfully made it so Avery can swap out for Quin.
However, while Quin's HP/MP status box and CTB turn order are being displayed after the swap, her actual sprite is nowhere to be found. It does seem like the enemies are able to target her, as during testing I've noticed her HP being depleted after attacks.
Quin appears just fine if I turn off the Battle Grid System plugin. Someone suggested I try resetting the graphics cache with ImageManager.clear(); ... However, this just makes all the battlers disappear.
I have no idea if any of them are relevant to the visibility issue, but here are the steps I took to create this skill:
1A. A Common Event before a battle starts that uses Party System notetags to "unlock" Avery (as she's normally a required party member) and lock her two active allies.
1B. Corresponding Switches that activate for each ally so I can reference them in the ensuing steps.
2. A second Common Event that opens the Party System's "Switch Member" screen and allows Avery to swap out for any currently inactive ally. The event then checks whether an ally is active in battle yet has their Switch mentioned in step 1 to OFF -- this is how the event determines which ally needs to receive step 3 ...
3. The newly active battler receives a State that, when it expires 1-2 turns later, triggers ...
4. A third Common Event, which uses conditional checks to swap Avery back in and the ally back out.
Can anyone help me find my missing Quin? I didn't include screenshots since I'm guessing the solution is a more involved version of the "clear your cache" suggestion, but I can take some if that'd help.
Thanks!
I'm trying to create a Skill that lets only my main character, Avery, temporarily swap out for an inactive ally (who we'll call Quin for reference) mid-battle.
Currently this involves the core VisuStella plugins, as well as VS Battle Grid and VS Party System. By using some notetags and weird workarounds, I've successfully made it so Avery can swap out for Quin.
However, while Quin's HP/MP status box and CTB turn order are being displayed after the swap, her actual sprite is nowhere to be found. It does seem like the enemies are able to target her, as during testing I've noticed her HP being depleted after attacks.
Quin appears just fine if I turn off the Battle Grid System plugin. Someone suggested I try resetting the graphics cache with ImageManager.clear(); ... However, this just makes all the battlers disappear.
I have no idea if any of them are relevant to the visibility issue, but here are the steps I took to create this skill:
1A. A Common Event before a battle starts that uses Party System notetags to "unlock" Avery (as she's normally a required party member) and lock her two active allies.
1B. Corresponding Switches that activate for each ally so I can reference them in the ensuing steps.
2. A second Common Event that opens the Party System's "Switch Member" screen and allows Avery to swap out for any currently inactive ally. The event then checks whether an ally is active in battle yet has their Switch mentioned in step 1 to OFF -- this is how the event determines which ally needs to receive step 3 ...
3. The newly active battler receives a State that, when it expires 1-2 turns later, triggers ...
4. A third Common Event, which uses conditional checks to swap Avery back in and the ally back out.
Can anyone help me find my missing Quin? I didn't include screenshots since I'm guessing the solution is a more involved version of the "clear your cache" suggestion, but I can take some if that'd help.
Thanks!