Anim2000 = 02001 = 12002 = 22003 = 32004 = 42005 = 52006 = 62007 = 72008 = 82009 = 9[State Numbers]type=varsettrigger1=var(20)=the numbersignorehitpause=1[State Numbers]type=varaddtrigger1=var(20)=the numbersignorehitpause=1[State Ones]type=explodtrigger1=1anim=2000+(var(20)%10)bindtime=-1removetime=1facing=1-(teamside=2)*2ontop=1ownpal=0pos=postype=backsprpriority=9ignorehitpause=1[State Tens]type=explodtrigger1=var(20)>=10 ;; replace with ""1"" if you want them to appear even when their value is 0anim=2000+((var(20)/10)%10)bindtime=-1removetime=1facing=1-(teamside=2)*2ontop=1ownpal=0pos=postype=backsprpriority=9ignorehitpause=1[State Hundreds]type=explodtrigger1=var(20)>=100 ;; replace with ""1"" if you want them to appear even when their value is 0anim=2000+((var(20)/100)%10)bindtime=-1removetime=1facing=1-(teamside=2)*2ontop=1ownpal=0pos=postype=backsprpriority=9ignorehitpause=1[State Thousands]type=explodtrigger1=var(20)>=1000 ;; replace with ""1"" if you want them to appear even when their value is 0anim=2000+((var(20)/1000)%10)bindtime=-1removetime=1facing=1-(teamside=2)*2ontop=1ownpal=0pos=postype=backsprpriority=9ignorehitpause=1[State Ten Thousands]type=explodtrigger1=var(20)>=10000 ;; replace with ""1"" if you want them to appear even when their value is 0anim=2000+((var(20)/10000)%10)bindtime=-1removetime=1facing=1-(teamside=2)*2ontop=1ownpal=0pos=postype=backsprpriority=9ignorehitpause=1[State Hundred Thousands]type=explodtrigger1=var(20)>=100000 ;; replace with ""1"" if you want them to appear even when their value is 0anim=2000+((var(20)/100000)%10)bindtime=-1removetime=1facing=1-(teamside=2)*2ontop=1ownpal=0pos=postype=backsprpriority=9ignorehitpause=1[State Millions]type=explodtrigger1=var(20)>=1000000 ;; replace with ""1"" if you want them to appear even when their value is 0anim=2000+((var(20)/1000000)%10)bindtime=-1removetime=1facing=1-(teamside=2)*2ontop=1ownpal=0pos=postype=backsprpriority=9ignorehitpause=1[State I hope you've caught on]type=explodtrigger1=var(20)>=10000000 ;; replace with ""1"" if you want them to appear even when their value is 0anim=2000+((var(20)/10000000)%10)bindtime=-1removetime=1facing=1-(teamside=2)*2ontop=1ownpal=0pos=postype=backsprpriority=9ignorehitpause=1
Not sure if yours improves on it but http://mugenguild.com/forumx/index.php?topic=43756.msg264665#msg264665has been in the code library for a while.
this way is far more simple and efficient. it doesn't require extra math and it doesn't require ( any variables at all ) a variable for each number place.
[State Numbers]type=varsettrigger1=var(20)=the numbersignorehitpause=1[State Numbers]type=varaddtrigger1=var(20)=the numbersignorehitpause=1I assume the trigger should be when I hit the opponent. As for the bold....I honestly have no idea what to put there and I don't know why I don't know because, I should know.Got it.