GetSpellCount - ActorBase

From Creation Kit
Jump to: navigation, search

SKSE Member of: ActorBase Script

Returns the number of spells defined in the base actor form. (This function requires SKSE)

Syntax

Int Function GetSpellCount() native

Parameters

None

Return Value

Returns the number of spells defined in the base actor form.

Examples

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

Notes

None

See Also