Purpose
Lets users clear previously inputted skills/items when inputting actions
Configurations
Spoiler # 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
Spoiler# v1.01a(GMT 0800 26-7-2015): |# 1. Added CLEAR_NIL_SE and CLEAR_NIL_SE_VAR_ID |# v1.00a(GMT 0800 22-7-2015): |# 1. 1st version of this script finished |
(DoubleX)YEA-BattleEngine Clear v1.01a.rar
本贴来自国际rpgmaker官方论坛作者:DoubleX处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:
https://forums.rpgmakerweb.com/threads/doublex-rmvxa-clear-addon-to-yanfly-engine-ace-ace-battle-engine.42666/