UnequipSpell - Actor

From the Fallout4 CreationKit Wiki
Jump to navigation Jump to search

Member of: Actor Script

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

Syntax[edit | edit source]

Function UnequipSpell(Spell akSpell, int aiSource) native

Parameters[edit | edit source]

  • 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[edit | edit source]

None.

Examples[edit | edit source]

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

See Also[edit | edit source]