I want it so that whenever an enemy uses an action that can target an ally, it always picks itself.
what is the simplest way of doing this?
what is the simplest way of doing this?
making an enemy specific version is the solution i am currently using.
changing the scope from "1 ally" to "the user" is what i want. but i was hoping for some code to do it automatically.
edits like that are just going to get worse and worse the farther along in making the game you are. that why i make full database before i even begin on actually making the game.
The most common scenario is when the monster is using a move that heals or buffs "1 ally" i want it to always pick itself.
Ah, I see the extent of the issue. I will probably be stuck with making a list of enemy specific versions of the move.
*Roars in Mufasa* Is that a challenge?!
It is simpler than that, I want a move that both player characters and monsters can use.
This just sounds so weird. Your enemies have 300 skills with a scope of 1 Ally? That sounds like it has to be overkill, I can't even fathom why you would need so many.
<Custom Select Condition>
if (user.isActor())
condition=target.isActor();
else
condition=target==user;
</Custom Select Condition>
From what i understand the Battle Engine Core only works and side view and would change so many other things about my game, it would be impractical to implement at this stage...
Nothing in the Battle Engine Core documentation says you're required to use side view. Several of the features it offers are only relevant there, but as far as I can read, you're free to stick to front view. And everything else in it is pretty modular, you're not required to turn on features you don't want.
Well, it's something that already exists, as opposed to asking/waiting on other people to write it for you. It also offers a lot of other functionality that you might find use for (making AoE targeting, making skills and items that cure status ailments and automatically target players with those statuses, finishing skills that can only be used on enemies under a certain percentage health, etc.).
Fantastic thank you, I'll test it as soon as I can!
Original thread: https://forums.rpgmakerweb.com/threads/make-enemy-always-target-self.140046/