So for my combat setup I have a SV enemy that I cut up into segments (head, arms, and legs). I finally got shared stats to work between them and by using the YEP action sequence plugins I can move the enemies together as one for attacks. The issue I am having is that the parts flinch when taking damage which breaks the illusion I'm trying to pull off of them being one enemy with different target-able areas. Anyone know how or with what plugin I can remove the enemy flinch on damage so I can just script the flinch of all enemies together through action sequences?
Enemy flinch SOLVED
RPG Maker MV SupportI know that Yanfly's Battle Engine Core (which you have probably installed already for the Action Sequences) has a tag to stop enemies from moving. I don't remember the exact tag, but you can find it in the plugin help file.
@LadyBaskerville Thanks for your response! I see the tag <Sprite Cannot Move> and have attempted to use it within the action sequence of my skills to prevent the flinch effect but it does not seem to be working in the middle of the <Target Action> sequence. Because this tag prevents all movement in a specific priority list I do not believe I should use it outside of the <Target Action> section otherwise it would prevent my action sequence from the actor executing properly.
Any other suggestions would be appreciated! Thanks!
Any other suggestions would be appreciated! Thanks!
Yes, that is the one I was thinking of. I'm back at my PC now, so I can do some experimenting myself.
I had originally hoped the the <Sprite Cannot Move> tag would be overwritten by Action Sequences, so that you could just give the enemy the tag and still move it with Action Sequences, but apparently that doesn't work.
However, you can put the <Sprite Cannot Move> tag on a state (without icon) and add / remove that state inside your Action Sequence with
Eval: target.addState(stateID);
and
Eval: target.removeState(stateID);
Adding those around the Action Effect line in my attack skill sequence disabled flinching completely - you will probably want to check first if the target is such a multi-part enemy. Let me know if you need any help with that.
I had originally hoped the the <Sprite Cannot Move> tag would be overwritten by Action Sequences, so that you could just give the enemy the tag and still move it with Action Sequences, but apparently that doesn't work.
However, you can put the <Sprite Cannot Move> tag on a state (without icon) and add / remove that state inside your Action Sequence with
Eval: target.addState(stateID);
and
Eval: target.removeState(stateID);
Adding those around the Action Effect line in my attack skill sequence disabled flinching completely - you will probably want to check first if the target is such a multi-part enemy. Let me know if you need any help with that.
Outstanding this worked! Thanks for your help!
Next time you can report your post to let us know it is solved. We'll see it that way a lot faster. 😀
This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.
Original thread: https://forums.rpgmakerweb.com/threads/enemy-flinch-solved.75518/