Hi again, I have another problem with a scripted grab:
The animation is a grab and multi-punch, and I want the attack to finish with another death animation (i.e. I have a default death, I want the attack to finish with death41 if it kills the entity) without using attack(#) due to me using a scripted grab (I'm from a cellphone right now so I can't post the mod here right now), it is possible? Sorry if I can't explain better, I just want to change the default death to another one if this grab kills the entity.
Thanks in advance and wash your hands.
The animation is a grab and multi-punch, and I want the attack to finish with another death animation (i.e. I have a default death, I want the attack to finish with death41 if it kills the entity) without using attack(#) due to me using a scripted grab (I'm from a cellphone right now so I can't post the mod here right now), it is possible? Sorry if I can't explain better, I just want to change the default death to another one if this grab kills the entity.
Code:
anim attack2
range 0 35
delay 25
offset 62 125
frame data/chars/burglar/punch11.png
@cmd slamstart
@cmd bind 1 27 -1 28 -1
@cmd forceanim "ANI_PAIN13" 0
frame data/chars/burglar/grab01.png
delay 20
frame data/chars/burglar/grab11.png
delay 20
frame data/chars/burglar/grab01.png
delay 20
frame data/chars/burglar/grab11.png
delay 20
frame data/chars/burglar/grab01.png
delay 20
frame data/chars/burglar/grab11.png
delay 25
frame data/chars/burglar/grab11.png
@cmd hurt 4
@cmd forceanim "ANI_PAIN12" 0
sound data/sounds/heavy.wav
frame data/chars/burglar/grab12.png
delay 25
frame data/chars/burglar/grab11.png
@cmd hurt 4
@cmd forceanim "ANI_PAIN12" 0
sound data/sounds/heavy.wav
frame data/chars/burglar/grab12.png
delay 25
frame data/chars/burglar/grab11.png
@cmd hurt 4
@cmd forceanim "ANI_PAIN12" 0
sound data/sounds/heavy.wav
frame data/chars/burglar/grab12.png
delay 25
frame data/chars/burglar/grab11.png
@cmd hurt 4
@cmd forceanim "ANI_PAIN12" 0
sound data/sounds/heavy.wav
frame data/chars/burglar/grab12.png
delay 25
frame data/chars/burglar/grab11.png
@cmd hurt 4
@cmd forceanim "ANI_PAIN12" 0
sound data/sounds/heavy.wav
frame data/chars/burglar/grab12.png
delay 50
@cmd bind 0 0 0 0 0
@cmd finish 0 -1 1 0 0
@cmd forceanim "ANI_FALL3" 0
delay 18
@cmd clearL
frame data/chars/burglar/punch11.png