» Mon Jun 18, 2012 12:01 pm
I'm a total noob at papyrus and i have failed miserably to make the script, this is what I've made so far
(dawnbreakerlight is a spell I made specifically for this mod, its like candlelight but way longer, I will remove the magical light ball later on so it just makes light)
"
Scriptname dawnbreakerlightscript extends ObjectReference
{
spell property dawnbreakerlight auto
Event OnEquipped(Actor akActor)
Debug.Trace(self + "OnEquipped()")
akActor.addspell(dawnbreakerlight)
endevent
event OnUnequipped (Actor akActor)
Debug.Trace(self + "OnUnequipped()")
akActor.removespell(dawnbreakerlight)
endevent}
"