DIGITOY
New member
Hi. First time asking for help.
I'm going to apply a short jumping dash forward. The manual says that if LOOP is set to 0 in RUN, the dash effect can be applied. I also tried JUMPFRAME and MOVEA in RUN.
It should be converted to WALK right after the animation is over, but it is just frozen. Interestingly, when you press the attack button in this state, RUNATTACK is applied. I just want to convert to WALK after DASH, but I would like to have a simple script.
And I'll show you my sauce.
I'm going to apply a short jumping dash forward. The manual says that if LOOP is set to 0 in RUN, the dash effect can be applied. I also tried JUMPFRAME and MOVEA in RUN.
It should be converted to WALK right after the animation is over, but it is just frozen. Interestingly, when you press the attack button in this state, RUNATTACK is applied. I just want to convert to WALK after DASH, but I would like to have a simple script.
And I'll show you my sauce.
Code:
anim run
@script
if(frame==3){
void self = getlocalvar("self");
changeentityproperty(self, "animation", openborconstant("ANI_WALK"));
}
@end_script
move 9
movea 4
offset 37 115
loop 0
frame data/chars/kimsuil/walk01.gif
frame data/chars/kimsuil/walk01.gif
move 0
movea 0
frame data/chars/kimsuil/walk01.gif