GetSpellCount - Race

From Creation Kit
Jump to: navigation, search

SKSE Member of: Race Script

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

Syntax

Int Function GetSpellCount() native

Parameters

None

Return Value

Returns the number of spells for the race.

Examples

Int ImperialSpellsCount = ImperialRace.GetSpellCount() ; ImperialSpellsCount = 2
 
Int RaceSpellsCount = GulumEiRef.GetRace().GetSpellCount() ; RaceSpellsCount = 3

Notes

None

See Also