assterixxx Posted September 16, 2012 Share Posted September 16, 2012 I have been trying to get this to function properly all day, obviously with little success. I'm trying to get the player to feed on a sleeping npc by pushing a button. Event OnActivate(ObjectReference akActionRef) If akActionRef == PlayerREF Game.GetPlayer().StartVampireFeed(NPC03) EndIf EndEvent This bit kinda works, but not as intended. I magically teleport to the npc(without the annoying debug box), the sounds/animation kicks in and I start feeding, but never get the hunger reset. What I would like it to do: Stay the same place without the anim(sounds ok) and then actually feed(get the bonuses). Could I throw in some kind of "UnregisterForAnimationEvent" and a "DisablePlayerControls" to get what I want? And is the hunger a var I need to play with? Link to comment Share on other sites More sharing options...
assterixxx Posted September 17, 2012 Author Share Posted September 17, 2012 When I finally ask for help, I find it myself... Typical! Substituting the StartVampireFeed line with "PlayerVampireQuest.VampireFeed2(NPC03 as actor)" seems to be doing the trick. But why "VampireFeed2". Looked over the quest, but I don't get it. Now, if anyone would care to tell me why that works, I'd be a happy camper! Link to comment Share on other sites More sharing options...
Recommended Posts