Battle Swap & Last Resort
#1
Battle Swap & Last Resort v 1.0
By Ebanyle
Have you ever felt the need to try another strategy in the middle of the battle, but not being able to pull your warrior or archer into the team? Did you ever helplessly watch a Game Over after your party was beaten to a pulp, even though it has 1001 members who are not currently in battle?
Fear no more! This script will (perhaps) help you!
Features
  • Call members in reserve to battle;
  • Call a reserve member to battle when your current battle members have been defeated;
  • Set a cooldown for swaps;
  • Set a limit for swaps.

How to Use

Paste this below materials but above main. If you have any battle scripts, I recommend you to paste this below them.

Compatibility

This script may not work with any scripts that modify the battle scene, such as HUDs and some battle systems, especially ATB.

It is supposed to be compatible with the following:
  • Yanfly Engine Ace - Battle Engine
  • Theolized Sideview Battlescript
I may or may not be able to make some scripts compatible if asked.

Screenshots
Content Hidden


Code

Github
Content Hidden

Terms of Use
  • You may post this anywhere, edited or not;
  • You may use it in any games, commercial or not;
  • Credit me as Ebanyle;
  • Do not remove the header.

Thanks
  • Yanfly - For some code reference
  • Traverse - Snippet fix for adding members mid-battle in TSBS (from here)

Notes
There is an issue with the battle log's speed (message spawns out too fast iirc), and also with both active and reserve party's windows not being properly centralized (they keep to the right accounting for battle command's window). I unfortunately have not managed to be able to move either at this state.
I kind of f*ed around and found out with whatever methods would work to prevent a Game Over before checking for swaps, which in my case was... aliasing a BattleManager method.
I don't know anything about programming and consider it a miracle I even managed to make such a script, so it's probably really crude even for my own usage within other systems, really. I was just bummed there was no script available with such a concept, which I'm a sucker for. But well! Everyone starts somewhere, right?
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
   Battle Item Count VX + ACE kyonides 1 3,388 10-17-2024, 08:01 PM
Last Post: kyonides
   Weapons Swap VX + ACE kyonides 1 3,097 09-27-2024, 07:41 AM
Last Post: kyonides
   Theolized Sideview Battle System TheoAllen 5 22,133 09-15-2014, 04:30 AM
Last Post: TheoAllen
   Victor Engine - Active Time Battle Victor Sant 0 8,587 12-16-2012, 08:17 PM
Last Post: Victor Sant
   Skip Battle Messages Helladen 1 9,618 08-06-2012, 01:34 AM
Last Post: Helladen
   Skip Battle Log Helladen 0 7,635 08-02-2012, 10:49 AM
Last Post: Helladen
   Victor Engine - Map Turn Battle Victor Sant 1 10,022 07-21-2012, 11:47 PM
Last Post: xnadvance
   Victor Engine - Animated Battle Victor Sant 4 21,785 03-10-2012, 06:42 PM
Last Post: Victor Sant
   Victor Engine - Skip Battle Log Victor Sant 0 7,742 01-09-2012, 05:27 AM
Last Post: Victor Sant
   Variable-Based Battle Themes v1.1 PK8 0 2,274 11-24-2009, 11:35 PM
Last Post: PK8



Users browsing this thread: 1 Guest(s)