The Mugen Fighters Guild

Help => M.U.G.E.N Development Help => Code Library => Topic started by: 2OS on July 27, 2012, 01:42:04 am

Title: Set PauseMoveTime and SuperMoveTime to Root/Pauses and SuperPauses never trigger
Post by: 2OS on July 27, 2012, 01:42:04 am
[Statedef -1]

[State ]
type=helper
trigger1=stateno=5900&&!numhelper(5900)
id=5900
stateno=5900
keyctrl=1
ignorehitpause=1
pausemovetime=9999999
supermovetime=9999999

[State ]
type=pause
trigger1=!ishelper
trigger1=  ;;  ""roundstate<2"" for pausemovetime and supermovetime, ""1"" for pauses and superpauses never trigger
time=9999999
movetime=9999999
pausebg=0
ignorehitpause=1

[State ]
type=superpause
trigger1=!ishelper
trigger1=  ;;  ""roundstate<2"" for pausemovetime and supermovetime, ""1"" for pauses and superpauses never trigger
time=9999999
movetime=9999999
darken=0
anim=-1
ignorehitpause=1

[State ]
type=pause
trigger1=ishelper(5900)
trigger1=  ;;  ""roundstate<2"" for pausemovetime and supermovetime, ""1"" for pauses and superpauses never trigger
time=0
movetime=0
pausebg=0
ignorehitpause=1

[State ]
type=superpause
trigger1=ishelper(5900)
trigger1=  ;;  ""roundstate<2"" for pausemovetime and supermovetime, ""1"" for pauses and superpauses never trigger
time=0
movetime=0
darken=0
anim=-1
ignorehitpause=1

[State ]
type=destroyself
trigger1=ishelper(5900)
trigger1=  ;;  ""roundstate>=2"" for pausemovetime and supermovetime, ""0"" for pauses and superpauses never trigger
ignorehitpause=1

[State ]
type=changeanim
trigger1=ishelper(5900)
value=root,anim
ignorehitpause=1

[State ]
type=velset
trigger1=ishelper(5900)
x=rootdist x
y=rootdist y
ignorehitpause=1

[State ]
type=assertspecial
trigger1=ishelper(5900)
flag=invisible
ignorehitpause=1

[State ]
type=nothitby
trigger1=ishelper(5900)
value=acs
ignorehitpause=1

[State ]
type=hitoverride
trigger1=ishelper(5900)
attr=acs,aa,ap,at
time=-1
ignorehitpause=1

[State ]
type=turn
trigger1=ishelper(5900)
trigger1=facing!=root,facing
ignorehitpause=1


notes —

-the pausemovetime and supermovetime effect wears off as soon as you're hit ( use a helper as armor )
-with either effect enabled assertspecial timerfreeze works the way it's supposed to: this will without question of fail stop F5 from working