YesNoOk
avatar

Number Counters (Read 11784 times)

Started by 2OS, July 21, 2012, 09:50:40 pm
Share this topic:

2OS

Number Counters
#1  July 21, 2012, 09:50:40 pm
  • ****
  • 608 Wannabe
  • Ich schicke dich zur HOELLE!! STIRB DU FEIGLING!!
    • Egypt
Anim

2000 = 0
2001 = 1
2002 = 2
2003 = 3
2004 = 4
2005 = 5
2006 = 6
2007 = 7
2008 = 8
2009 = 9


[State Numbers]
type=varset
trigger1=
var(20)=the numbers
ignorehitpause=1

[State Numbers]
type=varadd
trigger1=
var(20)=the numbers
ignorehitpause=1





[State Ones]
type=explod
trigger1=1
anim=2000+(var(20)%10)
bindtime=-1
removetime=1
facing=1-(teamside=2)*2
ontop=1
ownpal=0
pos=
postype=back
sprpriority=9
ignorehitpause=1

[State Tens]
type=explod
trigger1=var(20)>=10  ;;  replace with ""1"" if you want them to appear even when their value is 0
anim=2000+((var(20)/10)%10)
bindtime=-1
removetime=1
facing=1-(teamside=2)*2
ontop=1
ownpal=0
pos=
postype=back
sprpriority=9
ignorehitpause=1

[State Hundreds]
type=explod
trigger1=var(20)>=100  ;;  replace with ""1"" if you want them to appear even when their value is 0
anim=2000+((var(20)/100)%10)
bindtime=-1
removetime=1
facing=1-(teamside=2)*2
ontop=1
ownpal=0
pos=
postype=back
sprpriority=9
ignorehitpause=1

[State Thousands]
type=explod
trigger1=var(20)>=1000  ;;  replace with ""1"" if you want them to appear even when their value is 0
anim=2000+((var(20)/1000)%10)
bindtime=-1
removetime=1
facing=1-(teamside=2)*2
ontop=1
ownpal=0
pos=
postype=back
sprpriority=9
ignorehitpause=1

[State Ten Thousands]
type=explod
trigger1=var(20)>=10000  ;;  replace with ""1"" if you want them to appear even when their value is 0
anim=2000+((var(20)/10000)%10)
bindtime=-1
removetime=1
facing=1-(teamside=2)*2
ontop=1
ownpal=0
pos=
postype=back
sprpriority=9
ignorehitpause=1

[State Hundred Thousands]
type=explod
trigger1=var(20)>=100000  ;;  replace with ""1"" if you want them to appear even when their value is 0
anim=2000+((var(20)/100000)%10)
bindtime=-1
removetime=1
facing=1-(teamside=2)*2
ontop=1
ownpal=0
pos=
postype=back
sprpriority=9
ignorehitpause=1

[State Millions]
type=explod
trigger1=var(20)>=1000000  ;;  replace with ""1"" if you want them to appear even when their value is 0
anim=2000+((var(20)/1000000)%10)
bindtime=-1
removetime=1
facing=1-(teamside=2)*2
ontop=1
ownpal=0
pos=
postype=back
sprpriority=9
ignorehitpause=1

[State I hope you've caught on]
type=explod
trigger1=var(20)>=10000000  ;;  replace with ""1"" if you want them to appear even when their value is 0
anim=2000+((var(20)/10000000)%10)
bindtime=-1
removetime=1
facing=1-(teamside=2)*2
ontop=1
ownpal=0
pos=
postype=back
sprpriority=9
ignorehitpause=1
Re: Number Counters
#2  July 21, 2012, 11:38:57 pm
  • ******
  • Legendary XIII
  • I am the eye of the storm to come!
    • New Zealand
    • network.mugenguild.com/cyanide/


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.

2OS

Re: Number Counters
#3  July 22, 2012, 12:36:45 am
  • ****
  • 608 Wannabe
  • Ich schicke dich zur HOELLE!! STIRB DU FEIGLING!!
    • Egypt
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.
Re: Number Counters
New #4  October 02, 2012, 05:29:42 am
  • ****
  • Hey, I'm Grump!
    • USA
    • soldier.ucoz.net/
[State Numbers]
type=varset
trigger1=
var(20)=the numbers
ignorehitpause=1

[State Numbers]
type=varadd
trigger1=
var(20)=the numbers
ignorehitpause=1

I 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.

(Youtube) (WIP) (Mediafire) (New Anime Shop) My Manga Reviews! Personal favorite Patreon! Check her out!

"There is nothing either good or bad, but thinking makes it so."
Last Edit: January 10, 2013, 08:26:57 am by Noctis