code problem help please....

Started by dark byakuya, February 21, 2011, 06:08:06 PM

Previous topic - Next topic

dark byakuya

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!!!!!!!!!!

Nico Stein

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.

dark byakuya

Oh no alpha is gonna blooow!! EVERYONE PANIC!!!!!!!!!!