- Joined
- Jan 2, 2014
- Messages
- 1,787
- Reaction score
- 939
- First Language
- Chinese
- Primarily Uses
- N/A
DoubleX RMVXA Tag Addon v1.00a to Yami Engine Symphony - Battle Symphony
by DoubleX
Prerequisites
Yami Engine Symphony - Battle Symphony
http://forums.rpgmakerweb.com/index.php?/topic/6037-battle-engine-symphony/?hl=%2Bbattle+%2Bengine+%2Bsymphony
Introduction
Allows users to add their own symphony tags for battler selections
#==============================================================================|# ** You only need to edit this part as it's about what this script does |#------------------------------------------------------------------------------|module DoubleX_RMVXA module YES_BattleSymphony_Tag_Addon # This method will only be called by methods get_action_mains and # get_action_targets under class Scene_Battle def self.symphony_tag(action, result) case action # Example new symphony tag: id x, game actor with id x when /ID[ ](\d+)/i result.push($game_actors[$1.to_i]) # #------------------------------------------------------------------------- # Add your own symphony tags here # #------------------------------------------------------------------------- end return result end # self.symphony_tag end # YES_BattleSymphony_Tag_Addonend # DoubleX_RMVXA#==============================================================================|
You may want to 'upgrade' the example new symphony tag to this(it can handle any number of game_actor ids):
# Example new symphony tag: id x y - game actors with id x and y respectivelywhen /ID[ ](\d+(?:\s* \s*\d+)*)/i $1.scan(/\d+/).each { |num| result.push($game_actors[num.to_i]) }
# Example new symphony tag: id x y - game actors with id x and y respectivelywhen /ID[ ](\d+(?:\s* \s*\d+)*)/i $1.scan(/\d+/).each { |num| result.push($game_actors[num.to_i]) }
Decent symphony tag and scripting knowledge is needed to use this script
How to use
Open the script editor and put this script into an open slot below the script Yami Engine Symphony - Battle Symphony but above Main. Save to take effect.
FAQ
Q1: How to use symphony tags?
A1: Check http://forums.rpgmakerweb.com/index.php?/topic/19884-a-guide-to-yamis-battle-symphony/?hl=symphony
Q2: How to add new symphony tags using this script without having any scripting knowledge?
A2: You can ask for solutions to deal with specific tags you want to add here(but I may be too nub to answer
Credit and Thanks
DoubleX(Giving me credit is completely optional)
The terms of use is the same as that of Yami Engine Symphony - Battle Symphony except that you must also give Yami credit(you should do this anyway) if you give DoubleX or his alias credit
Compatibility
Same as that of Yami Engine Symphony - Battle Symphony
Changelog
v1.00a(GMT 0200 7-3-2014):
- 1st version of this script finished
(DoubleX)YES-Symphony Tag Addon v1.00a.txt
Attachments
-
323 bytes Views: 37
Last edited by a moderator:

