NPC scripting can be hard...I managed to find an easy way of doing it...
NPC + Scripted_sequence with the right property edit = your solution.
Make an NPC, give it the name bob for now...Make a scripted_sequence and place it where you want him to do the animation.
Then fill in the details:
In NPC properties put name bob and target the path.
Next in the script entity property put the name of the NPC targeting and put the animation name you want in action and idle and the other one below that. Can't remember the names exactly so bare with me.
If you don't know the animation names do this: Make an NPC, go to properties and click on model tab, choose an animation and copy and paste the exact same name into the box.
Trigger the last path to enable script and bravo.