Infinity MUGEN Team
IMT Main => M.U.G.E.N Help => Topic started by: GTAguy on April 15, 2018, 08:27:56 AM
-
Hello guys,
I'm working on a char and I have a issue here.
It appears that a char can taunt only once, then it won't work after. Lot of chars can taunt multiple times. I can't figure out on this. I need help.
-
Is the animation looped? Post your animation and code here, please.
-
Never mind. I solved it. Thanks anyway.
-
If you solved, please post the solution here :)
-
[Statedef 195]
type = S
ctrl = 0 ;Change control to 0
anim = 195
velset = 0,0
movetype = I
physics = S
[State 195, Playsnd] ; Moved Playsnd before changing back to stance anim
type = PlaySnd
trigger1 = animelem = 1
value = 1, 3
channel = 0
[State 195, 1]
type = ChangeState
trigger1 = !AnimTime ; change trigger to !AnimTime
value = 0
ctrl = 1 ; here you give control back, so no need for the CtrlSet below
;[State 195, 1] ; Remove this code or comment out
;type = CtrlSet
;trigger1 = Time = 40
;value = 1