Jump to content

Scripts On Potions Not Executing Correctly


traceguy

Recommended Posts

I created a potion, and an effect. The affect has the following script

Scriptname newscriptTest extends activemagiceffect  


Quest Property PlayerVampireQuest auto

Event OnEffectStart(Actor Target, Actor Caster)


	(PlayerVampireQuest as PlayerVampireQuestScript).VampireCure(Game.GetPlayer())
	debug.notification("Curing Vampirism")
    
EndEvent

The debug line executes, but not the cure part. I've also tried a few other functions from other quests. It seems no function from a quest script can be used.

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...