YesNoOk
avatar

VS Intro (Read 661 times)

Started by tetsuo9999, October 31, 2007, 09:49:46 pm
Share this topic:
VS Intro
#1  October 31, 2007, 09:49:46 pm
  • *****
  • You know it!
    • viewtiful9.blog124.fc2.com/
Ive coded an VS Intro and it doesn't work..but when i remove the random intro decider it does.
[Statedef 190]
type = S

[State 190, 1]
type = ChangeState
trigger1 = time = 0
value = 191+random%2

[State 190, 1]
type = ChangeState
triggerall = Time && (P2Name = "Goemon")
trigger1 = time = 0
value = 193


WOO! WOO! WOO!
PSN / XBLA - ViewtifulSuxx
Last Edit: October 31, 2007, 10:07:11 pm by 9999
Re: VS Intro
#2  October 31, 2007, 09:59:03 pm
  • ******
  • [E]
    • Mexico
sctrls are evaluated ina  top to bottom order, try putting the specific intro before the random one.
Re: VS Intro
#3  October 31, 2007, 10:30:34 pm
  • ******
  • Loyal to the Game
    • USA
    • http://jesuszilla.trinitymugen.net/
Put the Random%2 in parenthesis.
Re: VS Intro
#4  October 31, 2007, 10:47:03 pm
  • ******
  • [E]
    • Mexico
parenthesis in mugen are fun, because the parser is flawed. in theory, and following the documentation, putting parenthesis in there is bad; but being used to mugen's parser, they do not really get in the way, as they might prevent a parsing error.