NPC emote

I set an emote to an NPC via the creature_template_addon and it worked fine then I decided to add a smart script to the NPC via C++ but when I did that, the emote from creature_template_addon stopped working. I tried adding me->HandleEmoteCommand(EMOTE_STATE_READY1H); to the void Reset() override and it works but only when I attack the NPC then let it reset.

Any other way to do this?