Hello, I have one last problem to solve!
So my character loses his helmet shura, when in life <250, so I porccéder like (see above) .This works great!
However, when making a mug with the player 1 with this code:
;Chope reversal
[StateDef 695]
type = S
movetype = A
physics = S
anim = 695
ctrl = 0
velset = 0,0
sprpriority = 2
[State 695]
type = HitDef
trigger1 = AnimElem = 3
attr = S, NT
hitflag = M
priority = 1, Miss
sparkno = -1
guard.dist = 0
p2facing = 1
p1stateno = 696
p2stateno = 697
p2getp1state = 1
p1sprpriority = 8
hitsound = s81,0
[State 695]
type = ChangeState
trigger1 = AnimTime = 0
value = 0
ctrl = 1
;chope Ok !
[Statedef 696]
type = S
movetype= A
physics = S
juggle = 3
ctrl = 0
anim = 696
sprpriority = 5
[State 696]
type = TargetBind
trigger1 = AnimElem = 1, >= 0
trigger1 = AnimElem = 2, <0
pos = 90,-45
[State 696]
type = TargetBind
trigger1 = AnimElem = 2, >= 0
trigger1 = AnimElem = 3, <0
pos = 60,-50
[State 696]
type = TargetBind
trigger1 = AnimElem = 3, >= 0
trigger1 = AnimElem = 4, <0
pos = 70,-100
[State 696]
type = TargetBind
trigger1 = AnimElem = 4, >= 0
trigger1 = AnimElem = 5, <0
pos = 0,-105
[State 696]
type = TargetBind
trigger1 = AnimElem = 5, >= 0
trigger1 = AnimElem = 6, <0
pos = -15,-105
[State 696]
type = TargetBind
trigger1 = AnimElem = 6, >= 0
trigger1 = AnimElem = 7, <0
pos = -60,-90
[State 696]
type = TargetBind
trigger1 = AnimElem = 7
pos = -80, -130
[State 696]
type = TargetVelSet
trigger1 = AnimElem = 7, = 1
X = 8
Y = -2
[State 696]
type = TargetDrop
trigger1 = AnimElem = 7, = 1
[State 696]
type = ChangeState
trigger1 = AnimTime = 0
value = 0
ctrl = 1
;p2 reversal
[statedef 697]
type = S
movetype = H
physics = N
ctrl = 0
velset = 0,0
sprpriority = 0
[State 697]
type = ChangeAnim2
trigger1 = Time = 0
value = 697
[State 697]
type = StateTypeSet
trigger1 = AnimElem = 3
statetype = A
[State 697]
type = Gravity
trigger1 = AnimElem = 7, > 0
[State 692]
type = SelfState
trigger1= Pos Y >= 0
trigger1 = Vel Y > 0
value = 5100
Player 2 plays the animation from p1 file.
but how to tell him to shura, when a movie without headphones, because it automatically plays sprites 5000.0 5010.0 etc alos that shura without headphones are the sprites 5000.1 5010.1 that are different?
now if I fight shura and is without his helmet and I'm a mug p2, shura back in animation with his helmet lorqu'il is planned!