It's a fairly short script, all I need it to do is show a messagebox containing some buttons to the player.
It is supposed to run when you use a certain spell.
The code:
Spoiler
Scriptname VampireMenu extends activemagiceffect{This script handles the vampire menu showing.}Message Property Vampire AutoSPELL Property VampireMenuSpell AutoEvent OnSpellCast(Form akSpell)if (akSpell == VampireMenuSpell) Debug.MessageBox("Hello world") Vampire.Show()endifEndEventThe debug message isn't really needed, but I just added it for well... debug purposes.
The spell is a fire and forget voice equipped lesser power with a effect that does nothing, but is just there for debug purposes.
I've tried adding the script to the magic effect with no luck. I've tried adding it to a quest which handles the vampire related things. That did not work either. So I tried adding another effect to the spell to see if the spell itself was broken, but no, the spell fired. The script did not.
I tried changing the script to OnActivate and placed it on a book (altered the script to function for a book by removing the if statement) but that did not work either.
So now I'm turning to you guys to help me.
//BadDevilGrind

