Last update: 19/02/2012 (DD/MM/YYYY)
Download here: Script
This will make a skill can be inverted target (like in FF series, you can cast Fire on Ally or use Potion on Enemy). You can change the invert key in Script’s Module. Default is SHIFT.
If you don’t want a skill can be inverted, add notetag <no invert> for that skill.
This script requires YEA Battle Engine (optional) if you want to invert something like All Allies scope or All Enemies scope. YEA Battle Engine can be found in Yanfly Channel.
That’s all :3
Nice one 🙂 Can’t imagine a game where I can’t whack my friends ^^
Very great! 🙂
But I found screen frozen after I cancelled inverted targeting.
Also, any note tag to make skills uninvertible would be preferred 🙂
Update 03/01/2012: Fix a critical bug after an inverted action.
Thanks Yami. I wanted something like this badly. Great work.
Pingback: YEA – LSP Punishment | Yanfly Channel
Pingback: Ralph? Ralph! RAAAALLLLPPPHHH!!!! | Division Heaven
Yami I PM’d you on Rpgmakervace.net did you read the message? >.>
Update 2012.02.19
– Added notetag that makes skill/item cannot be inverted target.
^_^ Thank you so much Yami!
nice script, however there is a compatibility issue with Yanfly Engine Ace – Enemy Target Info v1.02, the window overlap each other….
any suggestion….?
Ive got a fix for that.
https://www.dropbox.com/s/mollhnf1avcudan/Invert%20Targets.rb
Is there still a fix for this? I went to silverknightarcher119’s link and it was empty
just change the key of the target info and invert targets, in my game I set invert targets in ALT and target info in SHIFT
the screen still frozen after cancelled inverted targeting canceled when I use attack command…
Is there a way to make it so more than one key could be used? Not totally necessary for my game, but it would be nice to use either Up or Down, instead of just one key (I’ve got it as Alt at the moment)
and this was posted on my birthday hahaha XD but I need this script!! XD
Hi, great script but I have trouble with it: the game crashes if an actor enters auto-battle. Error:
Script “Game_Actor” line 551: no method error
Undefined method ‘evaluate’ for false:FalseClass
It’s when the base script attemps to make a list of usable skills for auto-battle. If I comment “subject.invert_target = false” (line 154) of the set_skill method, Game_Action class in your Invert Targets script, the crash doesn’t happen (but of course the script keeps inverting targets when it should stop so I can’t fix it this way).
I’ve spent an afternoon on that and still have no idea how this line could interfere with the list.push(Game_Action.new(self).set_skill(skill.id).evaluate) line in the base script’s Game_Actor class. I also searched the other scripts I’m using for compatibility issues (all Yanfly’s or yours).
Thanks for your help.
Try this script for a bug fix. It stopped the crashes for me. http://forums.rpgmakerweb.com/index.php?/topic/23127-doublex-rmvxa-bug-fixes-v100a-to-ysa-battle-add-on-invert-targets/
hey i dont know if someone will ever read this but i cant get my hands on this script and this is pretty much what i need. But the links to it are all dead and i cant find this anywhere could someone forward it to me somehow please?
Same problem as the guy above. Similarly, this script is unavailable: http://www.rpgmakercentral.com/topic/6383-scope-change/
And unfortunately, this would be an integral part of my game.
no luck I see