Help with Dragonbones - attack animation loops instead of going back to idle

So when i fight the monster, the graphics loads and the IDLE animation is played.. until the monster attacks.. then the attack animation is played and keeps looping as the idle animation INSTEAD of the idle animation.

Any idea what I'm doing wrong?
Moved to: Javascript/Plugin Support

Did you have to set up any notes for this? Is it happening with all enemies or just certain ones? Are there plugin parameters and have they been configured correctly? Can you show screenshots?
sorry, I searched the forum for similar posts and they appeared in the general topics forum so that's where I posted.

I'll make sure they go in this forum next time though - thanks for helping me.

Somebody in another forum helped me out - in DragonBones - in the animation editor, named animations default to Play Times 0 which means loop.

To fix this, set Play Times to 1 on the ATTACK animation (or actually all the animations except IDLE).

Original thread: https://forums.rpgmakerweb.com/threads/help-with-dragonbones-attack-animation-loops-instead-of-going-back-to-idle.131293/