UnequipSpell - Actor

Member of: Actor Script

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

SyntaxEdit

Function UnequipSpell(Spell akSpell, int aiSource) native

ParametersEdit

  • 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 ValueEdit

None.

ExamplesEdit

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

See AlsoEdit