I've lately been trying to figure out how modify this script from the CK website http://www.creationkit.com/Adding_Working_Scripts_to_Itemsto work on an NPC.
ScriptName tutGlovesofBlizzardScript extends ObjectReference Spell Property Blizzard autoEvent OnEquipped(Actor akActor) Game.GetPlayer().AddSpell(Blizzard) EndIfEndEvent
I was thinking of using the console function "IsActor" if it is even possible to determine that the wielder of the weapon is an npc, but I dont quite know how to implement it. If anyone could help me out with this on how to make this work or write me the simple script I would really appreciate it..
Thanks
Edit: I also need it to work on the player and any actor that equips the object..