There is a script called for an NPC called GEN_SPLINEBEHAVIOUR, in it you can add animations. Haven't tried it out yet though so don't know if it'll work.
yea that didnt work, I did find the playanimation( command but its very weird formatting, if you dont freeze the character, or something before animating, the animation gets overrided by the walking animation.