YesNoOk
avatar

A Question About Hit sparks.... (Read 318 times)

Started by JYD, May 22, 2009, 09:29:27 pm
Share this topic:

JYD

A Question About Hit sparks....
#1  May 22, 2009, 09:29:27 pm
  • ***
  • ~*Laugh With Me*~
    • mugeninvasion.ucoz.com/
How Do I Multiple Hitsparks Show Instead On One.....Like For example On Anjels Chibi Deidara Every Time He Hits(In This Case Any basic attack) A Different Hitspark Shows...Thast What I Want My Char T Do

Any help Is Appreciated ;D
Re: A Question About Hit sparks....
#2  May 22, 2009, 10:27:25 pm
  • *****
  • Mega Klinklang confirmed
    • USA
    • ricepigeon.webs.com
under the hitdef where it says "sparkno = " you can put in an expression instead of a number.

So for example, say the two hitsparks you want to use are S8000 and S8001 (the S just means that the animation is in the character's AIR file and not MUGEN's default hitsparks) and you want each one to have an equal chance of showing up, you'd put:

S8000+(random%2)

That way both 8000 and 8001 each have an equal chance of being used.

<<-- Updated 09/14/14

You limit yourself so badly when you try to avoid variables. When you get over your fear of the "complexity" of variables, you will find yourself in a better place: A beautiful world where coding is actually fun.

JYD

Re: A Question About Hit sparks....
#3  May 23, 2009, 03:26:23 am
  • ***
  • ~*Laugh With Me*~
    • mugeninvasion.ucoz.com/
Thanks Alot Bro