Lower flight elevation with dasher

Hi all,

This is a question I've had for a while and it seems to be a bug.
I have a flying enemy and I'm using the @cmd dasher script to transition between various flying elevations of seta. Dasher seems to work fine with increasing elevation, but does NOT manage to decrease elevation. For instance:
@dasher -0.15 0.2 0 makes the enemy go upward in y and backward in x, but
@dasher -0.15 -0.2 0 only makes the enemy go backward in x (no effect on y).
Any ideas?
 
seta sets minimum altitude for the entity. Therefore declaring it pushes entity up to defined value and also prevents entity from going lower than that.

That's why, in Map Demo, Harpy enemy drops her seta value before diving.
anim attack1
range 60 140
delay 1
offset 225 198
seta 70
bbox 212 143 30 55
frame data/chars/harpy/idle01.gif
delay 16
frame data/chars/harpy/idle03.gif
frame data/chars/harpy/idle04.gif
delay 30
seta 0
@cmd degravity 1
@cmd dasher 3 -3 0
sound data/sounds/harpy01.wav
attack2 225 132 25 67 11 0 0 0 30
frame data/chars/harpy/a101.gif
delay 8
attack 0
@cmd dasher 0 0 0
frame data/chars/harpy/idle03.gif
frame data/chars/harpy/idle04.gif
delay 6
@cmd dasher 0 1.5 0
frame data/chars/harpy/idle00.gif
frame data/chars/harpy/idle01.gif
sound data/sounds/wing.wav
frame data/chars/harpy/idle02.gif
frame data/chars/harpy/idle03.gif
frame data/chars/harpy/idle04.gif
frame data/chars/harpy/idle00.gif
frame data/chars/harpy/idle01.gif
sound data/sounds/wing.wav
frame data/chars/harpy/idle02.gif
delay 16
@cmd degravity 0
@cmd dasher 0 0 0
frame data/chars/harpy/idle03.gif
seta 70
frame data/chars/harpy/idle04.gif
frame data/chars/harpy/idle00.gif
frame data/chars/harpy/idle01.gif
sound data/sounds/wing.wav
frame data/chars/harpy/idle02.gif

In this dive attack, Harpy drops seta value to 0 before diving then after floating on ground, she flies up to her defined seta.
 
Back
Top Bottom