mob/verb/change(mob/m)
flick("Attack",m)//Animation duration 2 secs
sleep(10)
flick("BeingHit",m)//Animation duration 1 sec
Problem description:
My problem is that when I use flick() with sleep() the animation won't change on the right moment. More specifically it playes the whole Attack animation and then the BeingHit animation instead of playing only 1 sec of the attack and then BeingHit