YesNoOk
avatar

code problem help please.... (Read 189 times)

Started by dark byakuya, February 21, 2011, 06:08:06 pm
Share this topic:
code problem help please....
#1  February 21, 2011, 06:08:06 pm
  • **
  • O.O!!!! おまえわアルファですか?
    • USA
hello, i got this code from  the code snipit achive shown below :



Use this IF you want the helper to be shown behind, then on front of the parent. In this case, on half of the rotating move, the helper will be on top of the parent, and the other half it will be behind.

Code (Mugen): [Select][State 9000, SprPriority]
type = SprPriority
trigger1 = 1
value = IfElse((Fvar(0)/Pi)%2,3,-1)
   
the thing is.. it keeps giving  me some error messege: type mismatch detected :27
is there some way to corect this?
Oh no alpha is gonna blooow!! EVERYONE PANIC!!!!!!!!!!
Re: code problem help please....
#2  February 21, 2011, 06:22:13 pm
  • **
  • Progress: ongoing
    • USA
I'm not sure... but as a wild guess, I'd say that you should either:
  • change [Select][State 9000, SprPriority] to just [State 9000, SprPriority]
  • or change the "%" to a "/"
Hope this helped.
Re: code problem help please....
#3  February 21, 2011, 07:33:05 pm
  • **
  • O.O!!!! おまえわアルファですか?
    • USA
thanks, it worked!
Oh no alpha is gonna blooow!! EVERYONE PANIC!!!!!!!!!!