GetNthSpell - Actor
SKSE Member of: Actor Script
Returns the specified added spell for the actor. (This function requires SKSE)
SyntaxEdit
Spell Function GetNthSpell(Int n) native
ParametersEdit
- n : the Nth Spell added to the actor
Return ValueEdit
Returns the specified added spell for the actor.
ExamplesEdit
Spell FirstSpell = PlayerRef.GetNthSpell(0)
; What's the very last Spell added to the Player ?
Spell LastSpell = PlayerRef.GetNthSpell(PlayerRef.GetSpellCount() - 1)
NotesEdit
Spells are listed in chronological order of addition.