GetSpellCount - Race

From the CreationKit Wiki
Jump to navigation Jump to search

SKSE Member of: Race Script

Returns the number of spells for the race. (This function requires SKSE)

Syntax[edit | edit source]

Int Function GetSpellCount() native

Parameters[edit | edit source]

None

Return Value[edit | edit source]

Returns the number of spells for the race.

Examples[edit | edit source]

Int ImperialSpellsCount = ImperialRace.GetSpellCount() ; ImperialSpellsCount = 2

Int RaceSpellsCount = GulumEiRef.GetRace().GetSpellCount() ; RaceSpellsCount = 3

Notes[edit | edit source]

None

See Also[edit | edit source]