Solved PAIN2 and PAIN3 animation wont animate on player. Also, way to make specific attacks use a specific PAIN animation?

Question that is answered or resolved.

Mazpzaz

New member
I have an attack chain set up in my Enemy script, everything is working fine except the fact that PAIN1 animation is the only animation that plays when the player is attacked. And is there also a way to use a specific PAIN anim for a Grab attack? Or even a Looping PAIN anim like in double dragon When being constantly hit; Like a Left hit, right hit? I am Mildly experienced with Openbor and I've read through the Manual and I just cant seem to figure this out! I would appreciate any help given, Thank you! <3
 
Solution
Frame properties, here's an example

inside your attack animations

anim attack1
loop 0
offset 76 114
delay 5
bbox 70 42 19 71
attack3 85 48 37 9 5
frame data/chars/blood/att1.png
attack3 0 0 0 0
frame data/chars/blood/att2.png


anim attack2
loop 0
offset 76 114
delay 5
bbox 70 42 19 71
attack5 85 48 37 9 5
frame data/chars/blood/ac1.png
attack5 0 0 0 0
frame data/chars/blood/ac2.png


The orange numbers will send the enemy to stated anim pain, so attack5 will send enemy to anim pain5, attack3 to anim pain3...
Frame properties, here's an example

inside your attack animations

anim attack1
loop 0
offset 76 114
delay 5
bbox 70 42 19 71
attack3 85 48 37 9 5
frame data/chars/blood/att1.png
attack3 0 0 0 0
frame data/chars/blood/att2.png


anim attack2
loop 0
offset 76 114
delay 5
bbox 70 42 19 71
attack5 85 48 37 9 5
frame data/chars/blood/ac1.png
attack5 0 0 0 0
frame data/chars/blood/ac2.png


The orange numbers will send the enemy to stated anim pain, so attack5 will send enemy to anim pain5, attack3 to anim pain3, If the attack frame property has a knockdown attack3 85 48 37 9 5 1 0 0 0 it will send enemy to fall3 etc

Don't loop a pain animation, it'll get stuck.
 
Last edited:
Solution
Back
Top Bottom