RTAB fix for @action == 1
#1
RTAB fix for @action == 1
Version: 1.3

Introduction

I has a script... sorta... c.c

Anyway, this is a simple bug fix for the RTAB battle system by Cogwheel.. Originally the script has a bug with the action setting of @action == 1, where the game will freeze when you use any skill or item that targets the user of the skill, such as ally, all allies, user.

With this fix, I simply put in break commands for ally scoping skills and for when you use items. I would have just used a condition for certain item scopes, but for some reason, when I do that, it eather makes it act like @action == 2, and comes up with an undefined error for "scope", but this seems to be working just fine... since I know only a little bit about scripting, this was a couple of hours of "trial and error". ':|

This script is beneficial to those who use Minkoff's Animated Battlers - Enhanced by DerVVulfman and use "Blank sprites". @action == 1 restricts a battler from action on another battler who is already in action, fixing the problem of battlers running to where a target "was" and not where it currently "is", but also if you are using "Blank sprites" on your sprite sheet and animating your character preforming skills -in- the battle animation. For example: If Hero is running up to Badguy then preforming a skill that is, say, 42 frames long. Badguy and his buddies he may have with him, must wait until that 42 frames are finished, and Hero is running back to his normal position before they can retaliate. Which brings me to my LAST reason for this fix: With using "Blank Sprites", it is important that Badguy and his buddies wait for Hero to return to his position before attacking because, if Hero is attacked while using a "Blank sprite", the blank sprite will be interrupted and will show a "damaged pose" then automatically started running back, WHILE THE ATTACK ANIMATION IS STILL GOING.

With my last reason, you may be thinking whats the big deal with the battle animation still going, because RTAB has a @anime_wait option, to make the system pause during an animation. MY PROBLEM with that is that it -RUINS- the "Real Time" feature by STOPPING ALL ATB GAUGES! @action == 1 only stops the action of those already giving or receiving an action, while still allowing all others to still act.

Did you all understand that whole rant!? I tried my best to make it easy to understand.

Scripts
"Normal Version"
"Connected Attacking Version"
Instructions

This script is "Plug'n'Play" so all you need to do is insert it directly under the RTAB script.
IMPORTANT: Use the first one is you are using RTAB without Connected Attacting - OR If you are using RATB and Connected attacking WITH Minkoff's Animated Battlers - Enhanced by DerVVulfman. If you are NOT using Animated Battlers and are using RATB with Connected attacking, that is the only case where you with need the second one.

Credits and Thanks
To DerVVulfman for makin me this little Plug'n'Play version.

Author's Notes
I played with this for a while and rewote it 3 times, so thats why its 1.2. Overall, it seems to be workin flawlessly at this point. If anyone does find another weird bug with it, or if anyone knows how to make this better, or safer or somethin, lemme know!

Terms and Conditions
Free to use for whatever you want, I only ask that you credit me.
Reply }


Possibly Related Threads…
Thread Author Replies Views Last Post
   Enemy Action Sets DerVVulfman 10 8,560 07-21-2021, 03:24 AM
Last Post: DerVVulfman
   XAS Action Battle System 3.72 *NEW VERSION* G.I. Toez 3 17,656 07-05-2010, 03:01 PM
Last Post: G.I. Toez
   RTAB slip sp_damage PanchoKoster 0 4,672 03-07-2008, 07:03 AM
Last Post: PanchoKoster
   Stealing, Mugging, and Scanning (RTAB Patch) DerVVulfman 0 4,518 03-05-2008, 07:28 AM
Last Post: DerVVulfman
   BattleStatus Modification (RTAB Version) DerVVulfman 0 5,188 03-05-2008, 06:47 AM
Last Post: DerVVulfman
   Remodeled Damage Display (RTAB) cogwheel 0 4,947 03-05-2008, 06:01 AM
Last Post: cogwheel
   Skills that Consume Items (Non-RTAB) cogwheel 0 4,347 03-05-2008, 05:41 AM
Last Post: cogwheel
   Skills that Consume Items (RTAB) cogwheel 0 4,464 03-05-2008, 05:33 AM
Last Post: cogwheel
   RTAB: Real Time Active Battle cogwheel 1 12,136 03-04-2008, 06:28 AM
Last Post: cogwheel
   Enemy Action Selection Fix RPG Advocate 0 4,669 03-03-2008, 05:16 AM
Last Post: RPG Advocate



Users browsing this thread: 1 Guest(s)