GetNthSpell - ActorBase
Revision as of 04:02, 7 September 2012 by imported>Seigneur Voland (Created page with "Category:Scripting Category:Papyrus Category:SKSE '''SKSE Member of:''' ActorBase Script Returns the specified spell defined in the base actor form. (This fun...")
SKSE Member of: ActorBase Script
Returns the specified spell defined in the base actor form. (This function requires SKSE)
Syntax[edit | edit source]
Spell Function GetNthSpell(Int n) native
Parameters[edit | edit source]
- n : the Nth Spell of the base actor form
Return Value[edit | edit source]
Returns the specified spell defined in the base actor form.
Examples[edit | edit source]
Spell BaseSpell01 = Player.GetNthSpell(0) ; BaseSpell01 = Flames
; What's the last base Spell of this Necromancer ?
Spell LastBaseSpell = NecromancerRef.GetActorBase().GetNthSpell(NecromancerRef.GetActorBase().GetSpellCount() - 1)
Notes[edit | edit source]
Spells are listed in the same order that in the Actor's SpellList tab.