GetNthSpell - Race

Revision as of 08:02, 8 September 2012 by imported>Seigneur Voland
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

SKSE Member of: Race Script

Returns the specified spell from the race. (This function requires SKSE)

SyntaxEdit

Spell Function GetNthSpell(Int n) native

ParametersEdit

  • n : the Nth Spell from the Race

Return ValueEdit

Returns the specified spell from the race.

ExamplesEdit

Spell ImperialSpell01 = ImperialRace.GetNthSpell(0) ; ImperialSpell01 = PowerImperialPacify

Spell RaceSpell02 = AlfhildBattleBornRef.GetRace().GetNthSpell(AlfhildBattleBornRef.GetRace().GetSpellCount - 1) ; RaceSpell02 = PowerNordBattleCry

NotesEdit

None

See AlsoEdit