UnequipSpell - Actor

From the CreationKit Wiki
Revision as of 15:28, 18 October 2011 by imported>Rhavlovick (1 revision: Clobber re-import by Henning)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Member of: 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

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

See Also