Hello guys,
From the DDRA game I'm learning from - This move enables the following attack to juggle an enemy.
I'm sitting here trying to figure out what exactly is the trigger that causes the enemies to be juggled.
Could someone point me in the right direction as I'm trying to make a different attack act the same way and cause a juggle.
From the DDRA game I'm learning from - This move enables the following attack to juggle an enemy.
I'm sitting here trying to figure out what exactly is the trigger that causes the enemies to be juggled.
Code:
anim freespecial36 # uppercut
@script
void self = getlocalvar("self");
int x = getentityproperty(self, "x");
int y = getentityproperty(self, "a");
int z = getentityproperty(self, "z");
int b = getentityproperty(self, "base");
if(y >= 1+b){
changeentityproperty(self, "animation", openborconstant("ANI_FOLLOW25"));
}
@end_script
loop 0
delay 3
offset 77 170
hitfx data/sounds/maxhit.wav
sound data/sounds/skneehit.wav
frame data/chars/billy/sp1.gif
frame data/chars/billy/sp1.gif
@cmd dasher 2 0 0
frame data/chars/billy/sp2.gif
frame data/chars/billy/sp2.gif
@cmd dasher 2.5 0 0
frame data/chars/billy/aaa2.gif
attack31 90 68 60 34 20 1
dropv 6 1
forcedirection -1
frame data/chars/billy/aaa2.gif
delay 7
@cmd dasher 2 0 0
frame data/chars/billy/aaa3.gif
attack31 0 0 0 0 0
delay 9
@cmd dasher 1.5 0 0
frame data/chars/billy/aaa3.gif
delay 9
@cmd dasher 0.7 0 0
frame data/chars/billy/aaa3.gif
Could someone point me in the right direction as I'm trying to make a different attack act the same way and cause a juggle.