Infinity MUGEN Team
IMT Main => M.U.G.E.N Help => Topic started by: Hellzone on September 22, 2018, 12:34:10 AM
-
Ok so im working on Tsuna and im giving him a transformation where his hands become on fire and im having issues with turning, this is the first time i've done a transformation. I managed to get his transformation turning working but now he is getting stuck in his normal turn here is the coding
[State 0, 1] ; Transformation
type = ChangeAnim
triggerall = time = 0
trigger1 = Anim != 0 && Anim != 5
trigger2 = Anim = 5 && AnimTime = 0 ;Turn anim over
value = ifelse(var(10)=0,0,4000)
[State 0, Fire Hands] ; Fire Hands Turn
type = ChangeAnim
triggerall = var(10) > 0
trigger1 = Anim != 4000 && Anim != 4005
trigger2 = Anim = 4005 && AnimTime = 0
value = 4000
[State 0, No Fire Hands] ; Non Fire Hands Turn
type = ChangeAnim
triggerall = time = 0
trigger1 = Anim != 0 && Anim != 5
trigger2 = Anim = 5 && AnimTime = 0
value = 0
-
I figured this out
this is the code i used.
[State 0, No Fire Hands]
type = ChangeAnim
triggerall = Var(10) <= 0
trigger1 = Anim != 0 && Anim != 5
trigger2 = Anim = 5 && AnimTime = 0
value = 0