MV Forced Motion in State (Solved)

I'm trying to force sv sprites into the damage motion so long as they are affected by a state.
This has to be able to affect party members as well as enemies.
Im using Yanflys animated sv Enemies as well as yanflys Buff and States core. Ive tried visual state fx plugin, and while the animations work, the motions dont?
I had it working at one point, but I guess it didnt save or something, and by the time I needed to reference it again, it was a distant memory. I've spent the last couple weeks, trting to replicate it but havent hadn't any luck.
This is where Im currently at, and I know I was somewhere similar before.
Java:
<Custom Apply Effect>
target.requestMotion('damage');
target.requestMotionRefresh();
</Custom Apply Effect>
The code you have there might show the motion, like, once, but it would be overridden as soon as the default code checked which motion it should be.

Ive tried visual state fx plugin, and while the animations work, the motions dont?
This is the thing you should be troubleshooting instead of trying to find a way to hack around it. These notetags are designed to do exactly what you want.
The code you have there might show the motion, like, once, but it would be overridden as soon as the default code checked which motion it should be.


This is the thing you should be troubleshooting instead of trying to find a way to hack around it. These notetags are designed to do exactly what you want.
Ive gone as far as starting up a fresh project with just the bsc, sv enemies, and visual state effects and still wasnt getting anything. That was why I was trying to find a work around. I dont get any errors in the console log or anything when I run it and cant really find anything online thats shed any light thus far.
Both Visual States and SV Enemies also require the Battle Engine Core.

With Battle Engine, Buffs & States, and Visual States in a new project, a test state with the state motion damage works exactly as expected for me.
WIth Visual State Effects, you can use

<State Motion: motion>

1712724945330.png


I'm using these myself, and they definitely work. Maybe you'll want to try and fix whatever breaks it for your project.
Both Visual States and SV Enemies also require the Battle Engine Core.

With Battle Engine, Buffs & States, and Visual States in a new project, a test state with the state motion damage works exactly as expected for me.
Sorry, yes. I figured those were implied. So I played around with it a bit more, and it sort of works, but not how I need it to.
It doesn't seem to trigger for the SV Enemies when I apply the state, but it does on the party members.
Sorry, yes. I figured those were implied
You'd be surprised

It doesn't seem to trigger for the SV Enemies when I apply the state, but it does on the party members.
Youll have to go through some basic troubleshooting. I added the plugin to my main project without changing anything and the motion tags work for both actors and enemies
You'd be surprised


Youll have to go through some basic troubleshooting. I added the plugin to my main project without changing anything and the motion tags work for both actors and enemies
I'll do some more testing in the test project, thanks for confirming that it should work. I know alot of plugin's I've found do not factor in the potential of SV enemies.

You'd be surprised


Youll have to go through some basic troubleshooting. I added the plugin to my main project without changing anything and the motion tags work for both actors and enemies
1712798609932.png

1712798649257.png

1712798690308.png

So I've added the <State Motion: Damage> to my sleep state just to test, and added a new skill (tester) that applies the state, and as you can see, these are the only plugins in this project. And I can get the state motion applied on the party member, but not the enemy. Honestly I have no idea where to go from here.

WIth Visual State Effects, you can use

<State Motion: motion>

View attachment 301478

I'm using these myself, and they definitely work. Maybe you'll want to try and fix whatever breaks it for your project.
It's nice to know it's working. It wasn't until I got responses to the initial post that I even bothered to try it on the party, to which it works, I can't figure out how to get it to work for the SV enemies however. I use the same skill, same state, and it seems to do nothing...
Your plugins are installed incorrectly.

According to the Yanfly Engine Web site, Sideview Enemies should be immediately after Battle Engine (amongst the plugins you have installed).
Your plugins are installed incorrectly.

According to the Yanfly Engine Web site, Sideview Enemies should be immediately after Battle Engine (amongst the plugins you have installed).
Thank you for that, it seems it's working correctly now. But alas it does not meet my needs. I was hoping my battle system would not have to come into question here, but it seems ,that for whatever reason it only seems to flicker into the assigned motion in transition between phases.

I guess with that uncovered, I'm using MythAtelier's Card Game Combat plugin. Not sure how much that'll really help at this point.
I guess with that uncovered, I'm using MythAtelier's Card Game Combat plugin. Not sure how much that'll really help at this point.
Might be best to email the MythAtelier team details about it, im pretty sure its one of their paid plugins. with the exception of yanfly's set, you wont gave much luck getting solutions past basics for paid plugins as it requires others to own and also know how to edit them.
I was hoping my battle system would not have to come into question here...I guess with that uncovered
No offense, but that really comes across as quite silly.

When you're asking for help with plugins that modify the engine's code, trying to use them with another plugin that makes drastic modifications to the same code (the battle system) is a really common sense thing to put in your first post - you probably would've gotten the advice that @Robro33 just gave you a day and 12 posts sooner.

Good luck with your project.
No offense, but that really comes across as quite silly.

When you're asking for help with plugins that modify the engine's code, trying to use them with another plugin that makes drastic modifications to the same code (the battle system) is a really common sense thing to put in your first post - you probably would've gotten the advice that @Robro33 just gave you a day and 12 posts sooner.

Good luck with your project.
I mean, in my defense. I didnt come looking for a plugin to do the job, as it wasnt to begin with. My initial post I feel made it fairly clear I was intending on using some javascript. Something I already did once but cant seem to replicate.

Original thread: https://forums.rpgmakerweb.com/threads/forced-motion-in-state-solved.167617/