Hi. Sorry if this is in wrong place not quite sure where this fits.
As the title states. a Skill that gives the state with restriction, "Cannot move", will not remove itself by condition.
This is a simple Stun setup. It stays there indefinitely. All the other restrictions work. It's just the Cannot Move one. I don't know what could be causing this. It's weird because it is only the "Cannot Move" restriction that can't be removed. Any help or advice would be much appreciated.
I've moved this thread to Ace Support. Please be sure to post your threads in the correct forum next time. Thank you.
Tech-Support is for getting the editors to run, not for game development support.
Please give screenshots of your states and skills - there are a lot of different ways to handle that and we need to see what exactly you're trying to do before we can help.
I don't see any cause for this behaviour directly, but a few ideas spring to mind.
1) Check the configuration for the autopassivestates
2) your cropping of the pictures removed important informations about both the state and the skill - please do not crop your screenshots that way. In this case, is it possible that either has the ID 1 or 2? because those IDs are hardcoded for special functions and do not behave entirely like regular skills/states.
3) Check the same states/skills in a new project without any plugin - do they behave correctly there?
Some weird things that I cannot explain. On the new project I copied all my games plugins over. And then I placed them all in order. Since I use mostly Yanfly plugins I went to his website and followed his way of plugin order. I then tried a play test and it still didn't work. So I started at the
bottom and turned off all miscellaneous plugins and tried again. It worked. So then I went to original game and did the same and it did not work. I checked the states setup and tried some different things. It was on action end so I put it on Turn End and tried again. This time it worked. So I tried same thing on original game and it still didn't work. I then realized the only thing that I'm doing different is on new project I'm selecting new game. So I tried a new game on original game and it worked. I tried seeing if Action End would work but it doesn't work. Only Turn End. Not sure what fixed the problem. Maybe putting everything in order did the trick, not sure. Or maybe just starting a new game did the trick, not sure. I remember though that stun or "Cannot Move" states worked even if on Action End. Maybe one of the plugins disabled that. I'll just have to put all my "Cannot Move" states on Turn End for it to work. And I'll have to start a new game.
One thing I've noticed is every time someone posts an issue with states not working, they have both Yanfly States and Buff Core and ellyestatesdamage plug-in in their project. I think there's a very good chance those two plug-ins are not compatible. Try disabling one or the other.
Ok. I get that. But I don't have Yanfly Buff/States Core. "YEP_AutoPassiveStates" only effect state conditions and lets you make more kind of conditions for your states. And
Ellyestatesdamage is a small script that only effects the damage a state does. Her script does not target turn count or actions taken or anything, the default system or other scripts that effect those handle that. The script only triggers the damage when a turn or action takes place. And I did put her plugin off and only used YEP_AutoPassiveStates and still got same problem. I don't really see those two relate. Again, those are the only two plugins that effect states that I have. But anyway, I understand that some scripts that behave similar might cause a clash between them. I highly doubt that those two are effecting each other, cus I tried separating them. Sorry if I might be misunderstanding something.
Probably aren't. I thought passive states required Buff and States Core, but looks like I'm off on that one. My bad.
So looks like then all you can do is either use the fix you found, or disable the plug-ins one at a time and see if the problem goes away. If it does, then that plug-in is the culprit.
Yeah there might be another plugin that's effecting it. But whenever a state with restriction "Cannot Move" is applied and the condition is "Action End" then the state will be there
forever. But if you think about it, one cannot take an action if you're restricted to movement. So it does make cense that Action End won't work and Turn End will for those "Cannot Move" states. I can live with Turn End. I saw your BugHunting, and I will be going through the rest of it again sometime. a Bit much to read for now. XD. But anyway, thanks for all the advice. I think this thread can be closed now if that's all. Thanks again. Cheers. ^^