TangerineDog Posted September 27, 2016 Share Posted September 27, 2016 (edited) I've tried adding this script to a magic effect and the effect to an ale bottle. But when I drink the ale, the spell remains in my active effects. Do you know of a potion that uses a script or how to fix mine? Script: ScriptName ScriptAleTest extends activemagiceffectSpell Property SpellHunger01 AutoEvent OnEffectStart(Actor akTarget, Actor akCaster) If Game.GetPlayer().HasSpell(SpellHunger01) Game.GetPlayer().RemoveSpell(SpellHunger01) Endif EndEvent EDIT: I've found the blood potion script from Dawnguard, it's not that different: Scriptname DLC1BloodPotionEffectScript extends ActiveMagicEffect PlayerVampireQuestScript Property PlayerVampireQuest Auto Event OnEffectStart(Actor akTarget, Actor akCaster) PlayerVampireQuest.VampireFeed()EndEvent Edited September 27, 2016 by TangerineDog Link to comment Share on other sites More sharing options...
TangerineDog Posted September 27, 2016 Author Share Posted September 27, 2016 I removed the effect from the ale and added it anew, and would you believe it, now it does as it is told. Turning it off and on again, eh? Link to comment Share on other sites More sharing options...
Recommended Posts