Tsukihime 1,487 Posted February 1, 2013 (edited) Replace Attack Command -Tsukihime This script allows you to replace your actors' attack commands. Each actor is given a list of possible attack commands, sorted by priority. When you are able to use one of the custom attack skills, your attack command will automatically change to that skill. Download Script: http://db.tt/2FQnysfE Usage Note-tag actors with a list of skill ID's. <attack_command: ID1 ID2 ID3 ... > This is priority-based, so the skill that appears first in the list will be used as the attack command. This script doesn't add additional attack commands: it takes advantage of the "add skill" feature. For example, you have a state called "Ice Sword" that adds an "ice blade" skill that will change your attack to an ice-elemental attack, while a state called "Fire Sword" that adds a "fire blade" skill will change your attack to this fire-elemental attack. Edited February 2, 2013 by Tsukihime Share this post Link to post Share on other sites
Pikalyze 4 Posted February 1, 2013 This is actually pretty awesome. Great job! Share this post Link to post Share on other sites
Platoon 1 Posted February 2, 2013 Very nice script, just what I was looking for! I have a problem though: only the first skill in the list is appearing in battle. If it's not usable, it still appears there, and cannot be used. I have tested this in a clean project too... I put it like this in the actor: <attack_command: 40 41> 40 is the skill ID for Bow Attack, only usable with a bow 41 is the standard melee, usable with any weapon. The actor has learned both skills, and still, only the first one appears. What am I doing wrong? Share this post Link to post Share on other sites
Tsukihime 1,487 Posted February 2, 2013 (edited) This doesn't add additional attack commands this only replaces it. The purpose of specifying multiple attack skills is in case you want to have different attacks under different circumstances. For example, when a fire state is applied, you would have a fire attack, but when an ice state is applied, you would have an ice attack. Edited February 2, 2013 by Tsukihime Share this post Link to post Share on other sites
Platoon 1 Posted February 2, 2013 Yeah I understand, but, follow my logic: The character is an archer, and a bow attack requires a 'bow weapon' to be equipped. If the bow is equipped, it would change to the bow attack (first in priority). If not, then it would be the universal one (second). It's the purpose of the script, right? Yet, when the character doesn't have a bow equipped, the bow attack still appears (grayed). Is there anything wrong with the configuration I showed in the other post? Thanks for the support Share this post Link to post Share on other sites
Tsukihime 1,487 Posted February 2, 2013 I've updated the script it should take into consideration whether the skill is usable or not now. Share this post Link to post Share on other sites
Platoon 1 Posted February 2, 2013 Woah, works like a charm now! Sorry I didn't understand the script didn't do that in the first place. Thanks a lot Tsukihime. Share this post Link to post Share on other sites
Tsukihime 1,487 Posted February 2, 2013 It was supposed to do it, I just wasn't checking the right things. I forgot that you could have weapon requirements. Share this post Link to post Share on other sites
SirCumferance 28 Posted August 22, 2014 LOL, just tried to replace all the 'attack' words with 'guard' I really thought it would work, different shields protecting differently, different classes protecting differently. Nope, instead it turned guard into an attack...of sorts. Any suggestions on how to make this work for Guard as well? Share this post Link to post Share on other sites
Tsukihime 1,487 Posted August 23, 2014 http://www.himeworks.com/category/rgss3/commands/ Share this post Link to post Share on other sites
SirCumferance 28 Posted August 23, 2014 Ah yes, but this script does not require another script that may interfere. However, I have not tested it out fully yet, will try both and see whats what Share this post Link to post Share on other sites