I'm trying to just do a basic attack where the character/ enemy goes up to the target, attacks and shows the attack animation, then goes back to their starting position... I've searched for the right code and I've found these two but neither seems to be working
and
The first code works correctly for skill 1 but not for the rest, what am I doing wrong?
Thanks!
Code:
<setup action>
MOTION STANDBY: target
</setup action>
<whole action>
MOTION STANDBY: target
</whole action>
<finish action>
Perform finish
</finish action>
and
Code:
<setup action>
clear battle log
display action
immortal: targets, true
</setup action>
<whole action>
move user: targets, front, 20
motion standby: user
wait for movement
face user: target
</whole action>
<target action>
motion attack: user
wait: 10
attack animation: target
wait for animation
action effect
</target action>
The first code works correctly for skill 1 but not for the rest, what am I doing wrong?
Thanks!

