GetSpellCount - ActorBase

From the CreationKit Wiki
Jump to navigation Jump to search

SKSE Member of: ActorBase Script

Returns the number of spells defined in the base actor form. (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 defined in the base actor form.

Examples[edit | edit source]

Int BaseSpells = Player.GetSpellCount(); BaseSpells = 3
Int BaseSpells = GeneralTulliusRef.GetActorBase().GetSpellCount(); BaseSpells = 0

Notes[edit | edit source]

None

See Also[edit | edit source]