GetSpellCount - Race

From the CreationKit Wiki
Revision as of 06:51, 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 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]