Well, you got the one I was thinking of. The actor has their own StartVampireFeed method. And in fact you are doing the exact same work I was doing when I ran into the problem.
Just for clarity (and mind you that I think about it am now in front of my computer instead of another device) here's the script fragment of the default:
Game.GetPlayer().StartVampireFeed(aktargetRef as actor)PlayerVampireQuest.VampireFeed()
I had changed mine to
BeluaVampireQuestScript.VampireSneakFeed(aktargetRef as actor)
Maybe this will help you. I did fix it...and what started it for me was two things:
I tried using the standard vampire feed animation as a paired animation just to see what would happen
And I implemented some code to rotate the player so that he was always directly behind the victim.
Here's my code that's currently working:
Player.MoveTo(akTarget, offsetx, offsety, 0,abMatchRotation = true) Player.PlayIdle(VampireFeedingBedRight_Loose) Game.ForceThirdPerson()
The moveto work was graciously provided by RandomNoob.
Perhaps if you are doing the same, you might try a WAIT statement after the moveto. My character was literally teleporting to a bed with another actor, and then moving back and would get stuck. And sometimes just get stuck.
-MM
Edit: Removed extra line. Awesome. I thought that's what had fixed it for me, but then I thought maybe I was wrong. I've invested so much time into timing and doing some other things in my sneakfeed method.