DOUBLEX RMVXA CLEAR ADDON TO YANFLY ENGINE ACE - ACE BATTLE ENGINE

RPG Maker VX Ace

Lets users clear previously inputted skills/items when inputting actions

  • DoubleX
  • 07/22/2015 10:59 AM
  • 2116 views
Configurations
# Sets the key triggering the skill/item clearance command
    # It must return a symbol and should return an existing keymap symbol
    # A custom keymap binding script might help here
    # If CLEAR_KEY_VAR_ID is a natural number, the value of variable with id
    # CLEAR_KEY_VAR_ID will be used instead
    CLEAR_KEY = :SHIFT
    CLEAR_KEY_VAR_ID = 0

    # Sets the se played when triggering the skill/item clearance command
    # "file", volume and pitch is its filename, volume and pitch respectively
    # It must return a RPG::AudioFile and should return a RPG::SE
    # If CLEAR_SE_VAR_ID is a natural number, the value of variable with id
    # CLEAR_SE_VAR_ID will be used instead
    CLEAR_SE = RPG::SE.new("file", volume, pitch)
    CLEAR_SE_VAR_ID = 0

    # Sets the se played when trying to clear an empty action slot
    # "file", volume and pitch is its filename, volume and pitch respectively
    # It must return a RPG::AudioFile and should return a RPG::SE
    # If CLEAR_NIL_SE_VAR_ID is a natural number, the value of variable with id
    # CLEAR_NIL_SE_VAR_ID will be used instead
    CLEAR_NIL_SE = RPG::SE.new("file", volume, pitch)
    CLEAR_NIL_SE_VAR_ID = 0


Games Using This Script
None so far

Prerequisites
Scripts:
1. Yanfly Engine Ace - Ace Battle Engine
Abilities:
1. Little RGSS3 scripting proficiency to fully utilize this script

Terms Of Use
You shall:
1. Follow the terms of use of Yanfly Engine Ace - Ace Battle Engine
2. Keep this script's Script Info part's contents intact
You shalln't claim that this script's written by anyone other than DoubleX, his aliases, Yanfly, or his/her aliases
None of the above applies to Yanfly or his/her aliases

Instructions
1. Open the script editor and put this script into an open slot between Yanfly Engine Ace - Ace Battle Engine and Main, save to take effect.

Authors
DoubleX:
1. This script
Yanfly:
1. Yanfly Engine Ace - Ace Battle Engine

Changelog
#    v1.01a(GMT 0800 26-7-2015):                                               |
#    1. Added CLEAR_NIL_SE and CLEAR_NIL_SE_VAR_ID                             |
#    v1.00a(GMT 1100 22-7-2015):                                               |
#    1. 1st version of this script finished                                    |