Jump to content
  • 0

Giving a character multiple intros?


Dhillon521

Question

Okay so I coded 2 prebattle intros for a certain character that I haven't announced yet. But only the first one plays. The 2nd one doesn't play at all.

Here is the code:

;---------------------------------------------------------------------------
;Introduction 1
[Statedef 190]
type = S
ctrl = 0
anim = 190
velset = 0,

[State 190, 1] ;Freeze animation until PreIntro is over
type = ChangeAnim
trigger1 = RoundState = 0
value = 190

[State 190, 2] 
type = AssertSpecial
trigger1 = 1
flag = Intro

[State 190, 3] ;Change to stand state when done
type = ChangeState
trigger1 = AnimTime = 400
value = 1
;---------------------------------------------------------------------------
;Introduction 2
[Statedef 191]
type = S
ctrl = 0
anim = 191
velset = 1,

[State 191, 1] ;Freeze animation until PreIntro is over
type = ChangeAnim
trigger1 = RoundState = 0
value = 191

[State 191, 2] 
type = AssertSpecial
trigger1 = 0
flag = Intro

[State 191, 3] ;Change to stand state when done
type = ChangeState
trigger1 = AnimTime = 400
value = 02

;---------------------------------------------------------------------------

The first one (That plays) is Statedef 190. Statedef 191 is the 2nd one which doesn't work. Any help?

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

190 is your preintro, which decides which intro to go into, for example a way to make it so you have random intros for 190 to go into try this under 190 instead

[State 180, 1]
type = ChangeState
trigger1 = time = 1
value = 191+(Random%2)

that would suggest if you made a new state for 191 and 192 to be new intros.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...