Character not able to perform attacks when in state?

First, no, the "Cannot Move" is not set as a restriction. In fact there are no restrictions.

I've made a custom state, Bleeding, that works for all the world like Poison. But when in it, for whatever reason, players can't perform actions. It just skips as if they were paralyzed.
If you provide a screenshot of the state details, people may be able to see what the problem is.
http://s1153.photobucket.com/user/SadGhoster87/media/Bleeding%20not%20working_zpsj9qgvebm.png.html

Ahem, this is a screenshot!
Are you sure that skill you're using to apply bleed is applying the correct state?

Have you tested other states for this same problem?

Do you have any scripts installed? Some scripts have default settings which can easily be overlooked.
Are you sure that skill you're using to apply bleed is applying the correct state?

Have you tested other states for this same problem?

Do you have any scripts installed? Some scripts have default settings which can easily be overlooked.
Yes, I have it applying bleed.

I don't exactly have a debug thing, this is a full game I'm doing. I'll try and find out.

I don't have any scripts that do anything to states.
Can you show us a screenshot of your skill? Also, are you SURE this is the state they have? Any chance they could have more than one state, and it's one of the others that's causing the issue?
Can you show us a screenshot of your skill? Also, are you SURE this is the state they have? Any chance they could have more than one state, and it's one of the others that's causing the issue?
I don't have any specific skills for causing Bleed, just some enemies and some skills with Bleed as a side-effect.

EDIT: And yes, I am sure that's the state causing it.
All states can only be applied by skill or by event command. And we asked to see how you applied that state to check if that is correctly done. Because if everything was done correctly, you would not have this problem - so there has to be some point where you made a mistake, and we need to see everything to find your mistake.

I don't have any scripts that do anything to states.
No - the correct wording would be "you have no scripts that you know that affect states" - but either one of your scripts does effect states, or you are wrong by assuming that it is the bleeding that causes the problem.
Computers are basically stupid - they do exactly what they're told to do.


The state "bleeding" has no action restriction set. If you got an action restriction on a actor, then there are only two possibilities - and only those two possibilities, nothing else:


1) The action restriction is done by a different state


2) A script damaged the state and restriction handling.


There are no other options, no matter how convinced you are that this state is responsible - either you're wrong with that opinion, or you have a script that affects the states.
So can we see the skills that "have bleed as a side effect" (ie - the skills that cause that state to be added)?


We can only help you if you give us the things we need to see to determine the problem.
So can we see the skills that "have bleed as a side effect" (ie - the skills that cause that state to be added)?

We can only help you if you give us the things we need to see to determine the problem.
Never mind, it stopped happening.

It happened after I opened the script editor (I didn't change anything). Maybe a bug that needed to be refreshed or something? Oh well, all's well that ends well.
Nope. If you didn't do anything, it means it's still there - you just haven't seen it yet. It also gives weight to the possibility that it was a different state that was also applied at that point in time that was doing it.
Nope. If you didn't do anything, it means it's still there - you just haven't seen it yet. It also gives weight to the possibility that it was a different state that was also applied at that point in time that was doing it.
Well, I came across something.

The default ID for the "windup" state added by Tsukihime's Skill Casting Time script was 27 when I first added it, the same as the ID of the Bleeding state. The only problem is that I'd already changed it to be 99 before I created the Bleeding state in the first place. Lead? Maybe? Perhaps a deprecated bit of Ruby that didn't get updated or something? I don't know much about Ruby XP
If you are using "test battle" and you didn't save your game after you changed the scripts, the changes won't be reflected in the test battle.


The script causes anyone in the casting state to skip their turn, because they are casting.


So this problem occurred due to a combination of script changing but not saving and the test battle functionality.


That would be the likely scenario.


You should be able to reproduce the problem by changing the casting state back to 27, saving the project, and then changing it to 99, but NOT saving the project this time, and doing test battle.
If you are using "test battle" and you didn't save your game after you changed the scripts, the changes won't be reflected in the test battle.

The script causes anyone in the casting state to skip their turn, because they are casting.

So this problem occurred due to a combination of script changing but not saving and the test battle functionality.

That would be the likely scenario.

You should be able to reproduce the problem by changing the casting state back to 27, saving the project, and then changing it to 99, but NOT saving the project this time, and doing test battle.
I wasn't using test battle and I did save, but yep, that's exactly what happened when I did that. Problem solved I guess?

Original thread: https://forums.rpgmakerweb.com/threads/character-not-able-to-perform-attacks-when-in-state.44627/