Here's the code:
;BEGIN FRAGMENT CODE - Do not edit anything between this and the end comment;NEXT FRAGMENT INDEX 24Scriptname PRKF__0100A98D Extends Perk HiddenPlayerVampireQuestScript Property PlayerVampireQuest Auto;BEGIN FRAGMENT Fragment_0Function Fragment_0(ObjectReference akTargetRef, Actor akActor);BEGIN CODEdebug.notification("perk script fired")Game.GetPlayer().StartVampireFeed(akTargetRef as actor)(PlayerVampireQuest as PlayerVampireQuestScript).VampireCorpseFeed(AkTargetRef as Actor);END CODEEndFunction;END FRAGMENT
I can activate the dead body, get my "drink blood" dialogue, and even my debug text "perk script fired" works. However, my function VampireCorpseFeed refuses to do anything. It has worked forever, suddenly it doesn't work. My debug text within it does not fire. So my fragment is not successfully calling the function. Even though the function is there and it always worked. I noticed the property somehow came un-filled. I refilled it using auto fill, it filled the vampire quest just fine, but still nothing. I started a new character thinking the old character with the improperly filled function didn't work, same thing.
Are there any glitches or bugs known with properties? My vampire quest is conditional. I call functions from it from other quests and fragments just fine. Suddenly this doesn't work and I can't figure it out. Any help would be great.