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