YesNoOk
avatar

Bullseye's Grab/Throw Problem (Read 4518 times)

Started by metamutant, July 29, 2019, 05:20:59 am
Share this topic:
Bullseye's Grab/Throw Problem
#1  July 29, 2019, 05:20:59 am
  • avatar
  • **
    • USA
    • tsthomas2121@yahoo.com
Bullseye starts the throw animation but never actually throws the opponent. The throw command is any two punches. Anyone else having this problem or knows of a fix?

     Posted: July 29, 2019, 05:42:09 pm
here is the throw/grab code

;---------------------------------------------------------------------------
; Throws
;---------------------------------------------------------------------------
[Statedef 800]
type = S
movetype= A
physics = S
juggle = 0
velset = 0,0
ctrl = 0
anim = 800

[State 800, 1]
type = HitDef
Trigger1 = Time = 0
attr = S, NT
hitflag = M
priority = 1, Miss
sparkno = -1
Sprpriority = 1
p1facing = ifelse (command = "holdfwd", -1, 1)
p2facing = 1
p1stateno = 810
p2stateno = 820
fall = 1

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

;----------------------------------------------------------------------
;success
[Statedef 810]
type = S
movetype= A
physics = N
anim = 810
poweradd = 60

[State 0, PlaySnd]
type = PlaySnd
trigger1 = !time
value = S8600,0

[State 0, PlaySnd]
type = PlaySnd
trigger1 = AnimElem = 3
value = S1,7

[State 810, Bind 1]
type = TargetBind
trigger1 = AnimElem = 1
pos = 60, 0
[State 810, Bind 2]
type = TargetBind
trigger1 = AnimElem = 2
pos = 50, 0
[State 810, Bind 3]
type = TargetBind
trigger1 = AnimElem = 3
pos = 20, -12

[State 810, Bind 3]
type = TargetBind
trigger1 = AnimElem = 4
pos = -34, -12

[State 810, Bind 4]
type = TargetBind
trigger1 = AnimElem = 4
pos = 6, -6

[State 810, Hurt]
type = TargetLifeAdd
trigger1 = AnimElem = 6
value = -78

[State 810, Throw]
type = TargetState
trigger1 = AnimElem = 6
value = 821

[State 810, State End]
type = ChangeState
trigger1 = !AnimTime
value = 0
ctrl = 1