This seems kinda like a hardcoded solution, and I'm not sure what it's doing.
Hey there! I'm also trying to play an animation once the current animation completes with Phaser 3. I'm making a fighting game, and I would like to play my attack animations, and then playWhenCurrentAnimFinished my movement animations. That way, you can still move around while attacking, but the attacking animations have higher priority and play in entirety.
Personally, I don't know how to solve this with
on('animationcomplete', ___, this);
because I don't know if it's possible to pass an animation name as an argument to the callback function.
SOS :)