GetNthSpell - Actor
Revision as of 04:05, 7 September 2012 by imported>Seigneur Voland (Created page with "Category:Scripting Category:Papyrus Category:SKSE '''SKSE Member of:''' Actor Script Returns the specified added spell for the actor. (This function requires ...")
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.