Mod:Creation Kit/UnequipSpell - Actor

Member of: Mod:Creation Kit/Actor Script

Forces the actor to equip the specified spell in the specified source.

Syntax
Function UnequipSpell(Spell akSpell, int aiSource) native

Parameters

 * akSpell: The spell to force the actor to unequip.
 * aiSource: The source to unequip the spell from.
 * One of the following values is acceptable:
 * 0: Left hand
 * 1: Right hand

Return Value
None.

Examples
Bob.UnequipSpell(WardProperty, 1)
 * Forces bob to unequip ward from his right hand