YesNoOk
avatar

intro selection not working. (Read 1269 times)

Started by Momotaro, April 15, 2022, 11:48:38 am
Share this topic:
intro selection not working.
New #1  April 15, 2022, 11:48:38 am
  • *****
  • A.K.A. NED
  • I like to draw fighting game characters...
I'm back working on Ryu's Shimo (My custom)
She had just one intro 191
I tried adding one more 192 (based on DW's Psylocke jump in intro) - but the problem is not here.

State 190 is a selector, but it always end using 1st intro (it choose 191 and never 192)

Is there something wrong in the code ? Any help is welcome.

Code:
Spoiler, click to toggle visibilty
Last Edit: April 15, 2022, 05:37:21 pm by Momotaro
Re: intro selection not working.
#2  April 15, 2022, 01:00:00 pm
  • ****
    • crepa.neocities.org
Since 190 is de decider, you should use it like this:

[State 5900, Intro Decider]
type = ChangeState
trigger1 = RoundNo = 1
value = 191 + (random%2)
Re: intro selection not working.
#3  April 15, 2022, 02:48:37 pm
  • *****
  • A.K.A. NED
  • I like to draw fighting game characters...
Since 190 is de decider, you should use it like this:

[State 5900, Intro Decider]
type = ChangeState
trigger1 = RoundNo = 1
value = 191 + (random%2)

Wow ! I feel stupid ^^;
Even if I used it before
Thanks for your help.

I'll make some tests.