UnequipSpell - Actor
Revision as of 12:08, 27 March 2014 by imported>Enter 77 (Added example for unequipping a Lesser Power)
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
- 2: Other
- One of the following values is acceptable:
Return ValueEdit
None.
ExamplesEdit
; Forces bob to unequip ward from his right hand
Bob.UnequipSpell(WardProperty, 1)
; Forces bob to unequip Lesser Power from the Voice slot
Bob.UnequipSpell(LesserPowerProperty, 2)