Difference between revisions of "GetEquippedSpell - Actor"

Jump to navigation Jump to search
243 bytes added ,  16:44, 23 December 2013
m
imported>Sagitarius22
imported>Terra Nova
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>


Anonymous user

Navigation menu