I don't think those codes have errors.
Do you have state 180/181 and state 170?
Yes, I have them. Could you take a look, please? May be the problem is here:
Spoiler, click to toggle visibilty
;---------------------------------------------------------------------------
; Lose by Time Over
; CNS difficulty: basic
[Statedef 170]
type = S
ctrl = 0
anim = 5110
velset = 0,0
[State 170,1] ;para hacer poses largas de ganador (Dracul)
type = AssertSpecial
trigger1 = Time = [0,320] ;en vez de 340, puede ser la cantidad de tiempo que you quiera (Uba)
flag = RoundNotOver
[State 170, 1]
type = NotHitBy
trigger1 = 1
value = SCA
time = 1
;---------------------------------------------------------------------------
; Win state decider
; CNS difficulty: basic
[Statedef 180]
type = S
[State 180, 1]
type = ChangeState
trigger1 = Time = 0
value = 181 + ((Random * 3) / 1000) ; change the 1 to however many winposes you have
;---------------------------------------------------------------------------
; Win pose 1 ; destruiremos tu planeta, asà como lo hicimos contigo
; CNS difficulty: basic
[Statedef 181]
type = S
ctrl = 0
anim = 180
velset = 0,0
[State 181, PlaySnd]
type = PlaySnd
trigger1 = AnimElem = 1
value = S180,1
volume = 230
channel = -1
;lowpriority = -1
freqmul = 1.0
loop = 0
pan = 0
;abspan =
;ignorehitpause =
;persistent =
[State 181,1] ;para hacer poses largas de ganador (Dracul)
type = AssertSpecial
trigger1 = Time = [0,320] ;en vez de 340, puede ser la cantidad de tiempo que you quiera (Uba)
flag = RoundNotOver
[State 181, 1]
type = NotHitBy
trigger1 = 1
value = SCA
time = 1
;---------------------------------------------------------------------------
; Win pose 2 : Tengo que encontrar y vencer a Juan Salvo, El Eternauta)
[Statedef 182]
type = S
ctrl = 0
anim = 180
facing = 1
pos = 0,0
postype = p1
velset = 0,0
[State 182, PlaySnd]
type = PlaySnd
trigger1 = AnimElem = 1
value = S180,2
volume = 230
channel = -1
;lowpriority = -1
freqmul = 1.0
loop = 0
pan = 0
;abspan =
;ignorehitpause =
;persistent =
[State 181,1] ;para hacer poses largas de ganador LONG WINNING POSES
type = AssertSpecial
trigger1 = Time = [0,340] ;en vez de 340, puede ser la cantidad de tiempo que you quiera
flag = RoundNotOver
[State 182, 1]
type = NotHitBy
trigger1 = 1
value = SCA
time = 1
;---------------------------------------------------------------------------
; Win pose 3
[Statedef 183]
type = S
ctrl = 0
anim = 180
facing = 1
pos = 0,0
postype = p1
velset = 0,0
[State 183, PlaySnd]
type = PlaySnd
trigger1 = AnimElem = 1
value = S180,3
volume = 230
channel = -1
;lowpriority = -1
freqmul = 1.0
loop = 0
pan = 0
;abspan =
;ignorehitpause =
;persistent =
[State 181,1] ;para hacer poses largas de ganador LONG WINNING POSES
type = AssertSpecial
trigger1 = Time = [0,500] ;en vez de 340, puede ser la cantidad de tiempo que you quiera
flag = RoundNotOver
[State 183, 1]
type = NotHitBy
trigger1 = 1
value = SCA
time = 1