Mod articles
-
All script source is provided in the BSA, or online at https://www.taraxis.com/skyrimse
For convenience or quick reference, it is also provided below (as of v1.0.0):
foxDisarmScript.psc
Scriptname foxDisarmScript extends ActiveMagicEffect
{Cool script that replaces disarms with just unequipping stuff yo}
event OnEffectStart(Actor akTarget, Actor akCaster)
if (!akTarget)
;Debug.MessageBox("No target!\n" + akTarget)
return
endif
;Unequip weapon in right hand...
Form SomeForm = akTarget.GetEquippedWeapon()
if (SomeForm)
akTarget.UnequipItem(SomeForm)
endif
;... and left hand as well
SomeForm = akTarget.GetEquippedWeapon(true)