Target one ally OR foe?

Hi 😉


I've been looking around to do what I was searching for, but I didn't have such luck...


Anyway, is there a way to implement 2 simple targets?


1- Target one ally or one foe except the user


2- Target one ally or one foe including the user


I saw the Target Core Plugin by Yanfly, but it wasn't there~


Any help would be appreciated!


Sorry for my english!
Yami has a script for it, but I can't find it at the moment, sorry. I'm usually really good at finding stuff, but I dunno where it is now.
I can look into an extension for YEP - Target Core for this, but if Yami already has it, that would be best. If you still can't get what you need after a bit, I'll see what I can put together.
I can look into an extension for YEP - Target Core for this, but if Yami already has it, that would be best. If you still can't get what you need after a bit, I'll see what I can put together.



Found the Yami one: http://yed.yami.moe/yed-invert-target/


It works as predicted, but I need to press Shift to invert the target...


Maybe adding an add-on to Target Core by Yanfly would work better?
Good news! I spoke with Yanfly about it, and we should see something official coming shortly (~ a month) in the YEP. If what that is turns out not to work for what you want, then I will certainly look into this again. Just keep an eye on the YEP for now though, and maybe use Yami's Invert Target until then.
Great! I'll rebump this topic when it does come out and inform you about it! Thank you!
@Nekoyoubi As promised! Yanfly did release a target extension for this and it works wonderfully. However, I use a front-view battle system, and it seems that I cannot go Up or Down to select my target... which is weird


Since I do not know a way to contact Yanfly, is it possible to add the possibility to switch between Enemies and the Party by going Up or Down with the keyboard?


Thank you!
@Lnik3500 So sorry for the delay. Work's been killing me. I can look into this and see what I can do, but sadly, it will take me some time to get to. All apologies.
@Nekoyoubi No problem! I can wait longer if you're busy!

Original thread: https://forums.rpgmakerweb.com/threads/target-one-ally-or-foe.59936/