Jump to content
  • 0

Character stuck in frame


y2alex

Question

Hey guys, I have a character (Neodio by Baddarkness) whom after finishing up his intro is stuck in his frame, and doesnt get into his fighting stance animation until after the round officially starts. Does anyone know how to take this off so he immediately gets into his fighting stance.

Link to comment
Share on other sites

6 answers to this question

Recommended Posts

  • 0

The main problem here is that your State 191 doesn't actually have a ChangeState in it. Nothing is sending it to State 0 (standing state) from what I can see and all the rest of that code (the other states) have no relevance because there's nothing going to those states either.

I'd add a simple ChangeState to State 191 and see where that takes you. This should suffice:

[State ]
type = ChangeState
trigger1 = !animtime ; When you animation has reached the end
value = 0 ; Go to state 0, ie. Stand
ctrl = 1 ; Give control of the character

 

Link to comment
Share on other sites

  • 0

[Statedef 191]
type = S
ctrl = 0
anim = 190
velset = 0,0

[State 191, 1] 
type = AssertSpecial
trigger1 = time = [0,100]
flag = Intro

;---------------------------------------------------------------------------
; ’§”­‚Ì“®ì
[Statedef 195]
type = S
movetype = I
physics = S
ctrl = 0
anim = 195
velset = 0,0
sprpriority = 2

[State 195, 1]
type = PlaySnd
trigger1 = animelem = 2
value = s0,4
channel = 1

[State 195, 2]
type = ChangeState
trigger1 = AnimTime = 0
value = 0
ctrl = 1

Not sure if the state 195 is apart is a part of the intro code. 

Link to comment
Share on other sites

  • 0

[Statedef 191]
type = S
ctrl = 0
anim = 190
velset = 0,0

[State 191, 1] 
type = AssertSpecial
trigger1 = time = [0,100]
flag = Intro

;---------------------------------------------------------------------------
; ’§”­‚Ì“®ì
[Statedef 195]
type = S
movetype = I
physics = S
ctrl = 0
anim = 195
velset = 0,0
sprpriority = 2

[State 195, 1]
type = PlaySnd
trigger1 = animelem = 2
value = s0,4
channel = 1

[State 195, 2]
type = ChangeState
trigger1 = AnimTime = 0
value = 0
ctrl = 1

Not sure if the state 195 is apart is a part of the intro code. 

Thats not the full thing.

Link to comment
Share on other sites

  • 0

; 開始前の動作
[Statedef 191]
type = S
ctrl = 0
anim = 190
velset = 0,0

[State 191, 1] 
type = AssertSpecial
trigger1 = time = [0,100]
flag = Intro

;---------------------------------------------------------------------------
; 挑発の動作
[Statedef 195]
type = S
movetype = I
physics = S
ctrl = 0
anim = 195
velset = 0,0
sprpriority = 2

[State 195, 1]
type = PlaySnd
trigger1 = animelem = 2
value = s0,4
channel = 1

[State 195, 2]
type = ChangeState
trigger1 = AnimTime = 0
value = 0
ctrl = 1

;---------------------------------------------------------------------------
; 挑発2の動作
[Statedef 196]
type = S
movetype = I
physics = S
ctrl = 0
anim = 196
velset = 0,0
sprpriority = 2

[State 196, 1]
type = PlaySnd
trigger1 = animelem = 2
value = s0,3
channel = 1

[State 196, 2]
type = ChangeState
trigger1 = AnimTime = 0
value = 0
ctrl = 1

;---------------------------------------------------------------------------
; 挑発3の動作
[Statedef 197]
type = S
movetype = I
physics = S
ctrl = 0
anim = 197
velset = 0,0
sprpriority = 2

[State 197, 2]
type = ChangeState
trigger1 = AnimTime = 0
value = 0
ctrl = 1

;---------------------------------------------------------------------------
; 挑発4(ピヨリ)の動作
[Statedef 198]
type = S
movetype = I
physics = S
ctrl = 0
velset = 0,0
sprpriority = 2

[State 198, 1]
type = Changeanim
trigger1 = Time = 0
value = 5300

[State 198, 2]
type = ChangeState
trigger1 = Time > 120
trigger1 = P2life <= 0
value = 0
ctrl = 1

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...