Difference between revisions of "GetSpellCount - Race"

From the CreationKit Wiki
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 number of spells for the race. (This function requires SKSE) ...")
 
imported>Seigneur Voland
m
 
Line 19: Line 19:
== Examples ==
== Examples ==
<source lang="papyrus">
<source lang="papyrus">
Int ImperialSpellsNum = ImperialRace.GetSpellCount() ; ImperialSpellsNum = 2
Int ImperialSpellsCount = ImperialRace.GetSpellCount() ; ImperialSpellsCount = 2


Int RaceSpellsNum = GulumEiRef.GetRace().GetSpellCount() ; RaceSpellsNum = 3
Int RaceSpellsCount = GulumEiRef.GetRace().GetSpellCount() ; RaceSpellsCount = 3
</source>
</source>



Latest revision as of 06:51, 8 September 2012

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]