Difference between revisions of "GetNthSpell - Race"
Jump to navigation
Jump to search
imported>Seigneur Voland (Created page with "Category:Scripting Category:Papyrus Category:SKSE '''SKSE Member of:''' Race Script Returns the specified spell from the race. (This function requires SKSE) ...") |
imported>Seigneur Voland m |
||
Line 21: | Line 21: | ||
Spell ImperialSpell01 = ImperialRace.GetNthSpell(0) ; ImperialSpell01 = PowerImperialPacify | Spell ImperialSpell01 = ImperialRace.GetNthSpell(0) ; ImperialSpell01 = PowerImperialPacify | ||
Spell RaceSpell02 = AlfhildBattleBornRef. | Spell RaceSpell02 = AlfhildBattleBornRef.GetRace().GetNthSpell(AlfhildBattleBornRef.GetRace().GetSpellCount - 1) ; RaceSpell02 = PowerNordBattleCry | ||
</source> | </source> | ||
Latest revision as of 07:02, 8 September 2012
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