GetNthSpell - Race

From Creation Kit
Jump to: navigation, search

SKSE Member of: Race Script

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

Syntax

Spell Function GetNthSpell(Int n) native

Parameters

  • n : the Nth Spell from the Race

Return Value

Returns the specified spell from the race.

Examples

Spell ImperialSpell01 = ImperialRace.GetNthSpell(0) ; ImperialSpell01 = PowerImperialPacify
 
Spell RaceSpell02 = AlfhildBattleBornRef.GetRace().GetNthSpell(AlfhildBattleBornRef.GetRace().GetSpellCount - 1) ; RaceSpell02 = PowerNordBattleCry

Notes

None

See Also