adding movehit

Started by bonizuka, July 20, 2009, 08:49:28 AM

Previous topic - Next topic

bonizuka

someone help,after i added this code it stops my next attack

Spoiler (click to show)
[State 0]
type = ChangeState
trigger1 = (time = 40) && (command = "holdz") ;;;;;
trigger1 = movehit
value = 200027  ;sample anim
ctrl = 1

[State 0]
type = ChangeState
trigger1 = AnimTime = 0
value = 50
ctrl = 1

actually,i want an attack that can continue or not,but i never thought a problem like this one.

Cyanide

What are you trying to achieve? I mean, that first changestate grants control. Do you even HAVE a state 200027?

You're using a changestate, if 200027 is just an anim, but there's no state there, nothing will happen, you'll just get a debug message.changeanim Go read the rules again.


In M.U.G.E.N there is no magic button

They say a little knowledge is a dangerous thing, but it's not one half so bad as a lot of ignorance.

bonizuka

Quote from: Cyanide on July 20, 2009, 09:42:29 AM
What are you trying to achieve? I mean, that first changestate grants control. Do you even HAVE a state 200027?

You're using a changestate, if 200027 is just an anim, but there's no state there, nothing will happen, you'll just get a debug message.changeanim Go read the rules again.
to continue and use the next statedef but it fails when i added ''changestate,movehit''.
actually,but from other statedef i used this and  nothing is wrong,only this one.
i have a statedef 200027 and his anim = 200028.
is this debug message is in the upperleft of mugen?i didn't saw,the mugen debug is ON.

Rajaa Retired

So then compare it to the statedef that it works in and see what the differences are.

bonizuka

@Cyanide and @Rajaa,thanks a lot for helping me.