Auto Battle When Idle

It happens sometimes!

Now I don't have to worry about going to the bathroom.


Auto Battle when Idle
by //mitchi.exe

Script version: 1.2
Converted on: Dec. 8, 2011
(This is my first completed VX and VXA script!)


SCRIPT
Pastebin: http://pastebin.com/jKk22FAc


Description:

This script will make all actors in the party to auto attack when the player is not doing anything (idling) during a party or actor command selection after the specified amount of frames or by pressing a certain button.

This is very useful when you suddenly have to do something else IRL and you don’t want to waste game play time!
The script is also beneficial when you’re sleepy or lazy… or somethin’…


Features:
~The party attacks automatically if player is idle or by a key press
~Can set a specific amount of frames before the auto battle starts
~Can be disabled by a switch


Instructions:
Change the value of MAB_IDLE_FRAMES below to the amount you want:
MAB_IDLE_FRAMES = n
The party will automatically attack after ‘n’ frames.

Change the value of DISABLE_IDLE_SWITCH below to a switch you want:
DISABLE_IDLE_SWITCH = n
If the switch ‘n’ is turned ON, the script’s features WILL NOT WORK.

You can also enter auto mode by pressing a button.
IDLE_AUTO_KEY = button
where ‘button’ can be (:A,:X,:Y,:Z,:L,:R)
IDLE_AUTO_KEY = :L


Compatibility:
-Only supports UP, DOWN, OKAY( C ), and CANCEL( B ) keys for idling
-This should work with battle systems that uses @actor_command_window and @party_command_window


Changelog:
v1.2 – Script converted to VXA


Final Notes:
This is my first script, so please help me if I did something wrong! ;3


Advertisements
Leave a comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Blog at WordPress.com.

%d bloggers like this: