GetNthSpell - Race

From the CreationKit Wiki
Revision as of 07:02, 8 September 2012 by imported>Seigneur Voland
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

SKSE Member of: Race Script

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

Syntax[edit | edit source]

Spell Function GetNthSpell(Int n) native

Parameters[edit | edit source]

  • n : the Nth Spell from the Race

Return Value[edit | edit source]

Returns the specified spell from the race.

Examples[edit | edit source]

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

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

Notes[edit | edit source]

None

See Also[edit | edit source]