Go into your .cns file and look for state 190; it should look like this: ++++++Taken from my Sajin (Some things might look different)++++++
Code
;---------------------------------------------------------------------------
; Introduction
; CNS difficulty: basic
[Statedef 190]
type = S
ctrl = 0
anim = 190
velset = 0,0
;I AM P1
;========
[state 191, varset]
type = varset
triggerall = teamside = 1
triggerall = numenemy
triggerall = screenpos x < 160
trigger1 = time = 0
trigger1 = numpartner
trigger1 = ID < partner, ID
trigger2 = time = 0
trigger2 = !numpartner
var(22) = 1
;I AM P2
;========
[state 191, varset]
type = varset
triggerall = teamside = 1
triggerall = numenemy
triggerall = screenpos x < 160
trigger1 = time = 0
trigger1 = numpartner
trigger1 = ID > partner, ID
var(22) = 2
;I AM P3
;========
[state 191, varset]
type = varset
triggerall = teamside = 2
triggerall = numenemy
triggerall = screenpos x > 160
trigger1 = time = 0
trigger1 = numpartner
trigger1 = ID < partner, ID
trigger1 = ID > enemy, ID
trigger2 = time = 0
trigger2 = !numpartner
trigger2 = ID > enemy, ID
var(22) = 3
;I AM P4
;========
[state 191, varset]
type = varset
triggerall = teamside = 2
triggerall = numenemy
triggerall = screenpos x > 160
trigger1 = time = 0
trigger1 = numpartner
trigger1 = ID > partner, ID
var(22) = 4
[State 191, VarSet]
type = VarSet
triggerall = TeamMode = simul
trigger1 = var(22) = 1
trigger2 = var(22) = 3
var(25) = 1
[State 191, VarRandom]
type = VarSet
trigger1 = p2name = "Tosen"
v = 19
value = 1
persistent = 0
[State 191, 1] ;Freeze animation until PreIntro is over
type = ChangeState
trigger1 = Var(19) = 0
value = 191
++++++++++++++++++++++++++++++++++++
State 190 is use as a pre-intro which lasts for 0.01 of a second before switching to State 191.
To create a custom intro to happen when fighting a certain character you need to setup a VarSet like the one in the code above.
Code
[State 191, VarSet]
type = VarSet <----telling state 190 we want to check a variable
trigger1 = p2name = "Tosen" <----This tells the Var to check to see if player 2's name is "Tosen"
v = 19 <----Variable Number, you can use any number from 1 to 59. I suggest you use a number higher than 4.
value = 1 <-----This means that if player 2's name is "Tosen" then variable 19 equals '1'
persistent = 0 <-----This tell the sctrl to done this check only once.
Now that you have a variable available let's use it. Now go ahead and write a code for your custom intro; in this example we'll use State 192 as our custom intro. State 190 ends in a ChangeState which changes state 190 to 191 (default intro). So how do we make it change to 192 when we want to. Thats where we use our variable.
I'm gonna have to double-post to finish this. >:\
Added (2011-01-25, 2:48 Am)
---------------------------------------------
Look at the ChangeState and change this line:
(default code)
[State 191, 1] ;Freeze animation until PreIntro is over
type = ChangeState
trigger1 = time = 0 <This line
value = 191
TO:
[State 191, 1] ;Freeze animation until PreIntro is over
type = ChangeState
trigger1 = Var(19) = 0 <----This means that player 2's name is not "Tosen" therefore this will result in changign to the default intro.
value = 191
Now make a copy of that code and change Var(19) = 0 to 1 and value to 192. so now you should have this:
[State 191, 1] ;Freeze animation until PreIntro is over
type = ChangeState
trigger1 = Var(19) = 0
value = 191
[State 191, 1] ;Freeze animation until PreIntro is over
type = ChangeState
trigger1 = Var(19) = 1
value = 192
Save and test.