Difference between revisions of "UnequipSpell - Actor"
Jump to navigation
Jump to search
imported>Rhavlovick m (1 revision: Clobber re-import by Henning) |
imported>Enter 77 (Added example for unequipping a Lesser Power) |
||
Line 16: | Line 16: | ||
***0: Left hand | ***0: Left hand | ||
***1: Right hand | ***1: Right hand | ||
***2: Other | |||
== Return Value == | == Return Value == | ||
Line 24: | Line 25: | ||
; Forces bob to unequip ward from his right hand | ; Forces bob to unequip ward from his right hand | ||
Bob.UnequipSpell(WardProperty, 1) | Bob.UnequipSpell(WardProperty, 1) | ||
</source> | |||
<br> | |||
<source lang="papyrus"> | |||
; Forces bob to unequip Lesser Power from the Voice slot | |||
Bob.UnequipSpell(LesserPowerProperty, 2) | |||
</source> | </source> | ||
Latest revision as of 12:08, 27 March 2014
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
- 2: Other
- One of the following values is acceptable:
Return Value[edit | edit source]
None.
Examples[edit | edit source]
; 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)