Since my character is not fond of killing when not needed, he prefers to knock out a band of bandits and just take all their weapons, armor and such. I am trying to find a way to do this in Skyrim. A fine gentleman wrote/found a script that looks as though it would solve all my needs. This is the script(The title is not pasting in the white box for some reason on this post):
Scriptname fg109TestMEScript extendsActiveMagicEffect
Actor MySelf
Event OnEffectStart(Actor akTarget, Actor akCaster)
MySelf = akTarget
MySelf.SetUnconscious()
MySelf.PushActorAway(MySelf, -5)
RegisterForSingleUpdate(2)
EndEvent
Event OnUpdate()
MySelf.EnableAI(False)
EndEvent
Event OnEffectFinish(Actor akTarget, Actor akCaster)
MySelf.EnableAI()
MySelf.SetUnconscious(False)
EndEvent
Event OnActivate(ObjectReference akActionRef)
MySelf.OpenInventory(True)
EndEvent
If I am reading this right, it knocks them out, allows me to do anything I need to while he is out, and allows me to get into his inv while he is out. Now here is the problem... I have very little skill in scripting. I spent 6 hours trying to attach this to a weapon. I copied the script into the game and called it KO:
http://i895.photobucket.com/albums/ac158/squee913/sc1.jpg
I then made a new magic effect with this script and called it Knockout:
http://i895.photobucket.com/albums/ac158/squee913/magiceffect.jpg
I then attached that to an enchantment for weapons:
http://i895.photobucket.com/albums/ac158/squee913/enchantment-1.jpg[
Finally, I tried to give this enchantment to a weapon with 0 damage:
http://i895.photobucket.com/albums/ac158/squee913/weapon-1.jpg
this does not work at all. The weapon shows that it is enchanted, but nothing happens. Does anyone know what i am doing wrong? If we can get this to work, it would be a great addition to the game for everyone!


