Difference between revisions of "GetEquippedSpell - Actor"
Jump to navigation
Jump to search
Added example for "Other"
imported>Terra Nova m (→Examples) |
imported>Enter 77 (Added example for "Other") |
||
Line 26: | Line 26: | ||
if (Bob.GetEquippedSpell(0) == FireballProperty) | if (Bob.GetEquippedSpell(0) == FireballProperty) | ||
Debug.Trace("Bob has fireball in his left hand") | Debug.Trace("Bob has fireball in his left hand") | ||
endIf | |||
</source> | |||
<br> | |||
<source lang="papyrus"> | |||
; Does Bob have a Greater Power equipped that takes up the Voice slot? | |||
if (Bob.GetEquippedSpell(2) == GreaterPowerProperty) | |||
Debug.Trace("Bob has a Greater Power equipped as a Shout") | |||
endIf | endIf | ||
</source> | </source> |