YesNoOk
avatar

Many Intros (Read 392 times)

Started by ShunpoHadouken, November 18, 2008, 10:55:43 am
Share this topic:
Many Intros
#1  November 18, 2008, 10:55:43 am
  • **
Hi... I'm kinda newbie about some basic codes.
How do you code many intros for every start of the battle?

Thanks For Any Help!!!
Re: Many Intros
#2  November 18, 2008, 05:54:10 pm
  • ******
  • [E]
    • Mexico

  • Online
Re: Many Intros
#3  November 19, 2008, 09:20:11 am
  • **
So~ that's it.
Got an idea in my mind.  :D
I have 4 intros ( state 190-193 ).
How about changing the state 190 in "stcommon.cns"?
Like this:

[mcode]; PREINTRO
[Statedef 190]
type = S
ctrl = 0
velset = 0,0

[State 190, 1]
type = ChangeAnim
trigger1 = SelfAnimExist(190+random%4)
value = 190+random%4

[State 190, 2] ;Go straight to intro.
type = ChangeState
trigger1 = Time = 0
value = 191+random%4[/mcode]

How about it? ::)
Nothing seems to be wrong right?  :sugoi:
I hope so.  :'(
Thanks a lot for your help  :)
Thanks For Any Help!!!
Re: Many Intros
#4  November 19, 2008, 09:21:58 am
  • ******
  • I hang out tough. I'm a real boss.
    • USA
    • litotichues.com/
yes that works, i hope you know how that works now :)

also you may not need the "changanim", but it depends on what you are trying to do but in any case you got it working :-*
Re: Many Intros
#5  November 19, 2008, 09:29:51 am
  • **
Thanks  ;D
Thanks For Any Help!!!