Difference between revisions of "GetEquippedSpell - Actor"
Jump to navigation
Jump to search
m
→Examples
imported>Sagitarius22 m (→See Also) |
imported>Terra Nova m (→Examples) |
||
Line 27: | Line 27: | ||
Debug.Trace("Bob has fireball in his left hand") | Debug.Trace("Bob has fireball in his left hand") | ||
endIf | endIf | ||
</source> | |||
<source lang="papyrus"> | |||
;To get the equipped spell that requires both hands: | |||
if (PlayerRef.GetEquippedSpell(0) && PlayerRef.GetEquippedSpell(1) == LightningStormProperty) | |||
Debug.Trace("Player has Thunderbolt in both hands.") | |||
endif | |||
</source> | </source> | ||