kimono
Well-known member
Hi, I'm wondering if there is a solution for the enemies to perform various attacks instead of only jumpattacks in a specific range.
I tried to set the same range to jumpattack and runattack in my Sid enemy, but he always use jumpattacks:
I wish that he uses either jumpattacks or run attack at this range. Thanks for your suggestions
.
I tried to set the same range to jumpattack and runattack in my Sid enemy, but he always use jumpattacks:
Code:
anim jumpattack
range 20 80
rangea 0 100
fastattack 1
jugglecost 10
forcedirection -1
loop 0
delay 4
offset 21 86
bbox 8 0 25 60
hitfx data/sounds/sf/HighKick.wav
sound data/sounds/sf/HighAttack.wav
attack1 0 29 60 35 8 1 0 0 10 12
frame data/chars/sid/jumpatk00.gif
sound data/voices/signal/signal1.wav
frame data/chars/sid/jumpatk00.gif
anim runattack #SLIDE
range 20 80
rangea 0 100
fastattack 1
jugglecost 10
forcedirection -1
energycost 0
loop 0
delay 16
offset 21 78
bbox 9 13 28 66
frame data/chars/sid/slide00.gif
bbox 9 21 28 58
frame data/chars/sid/slide01.gif
attack1 23 57 60 22 8 1 0 0 10 12
@cmd dasher 2 0 0
hitfx data/sounds/sf/HighKick.wav
sound data/sounds/sf/Slide.wav
frame data/chars/sid/slide02.gif
@cmd dasher 1 0 0
frame data/chars/sid/slide02.gif
@cmd dasher 0.5 0 0
frame data/chars/sid/slide02.gif
@cmd dasher 0 0 0
attack1 0 0 0 0 0 0 0 0 0 0
frame data/chars/sid/slide01.gif
bbox 9 13 28 66
frame data/chars/sid/slide00.gif
I wish that he uses either jumpattacks or run attack at this range. Thanks for your suggestions