- Found in:
- SKSE
Description
Wiki Description
Returns the number of added spells for the actor. (This function requires SKSE)
Documentation Comment
returns the number of added spells for the actor
Caveats
CK Wiki - Notes
- The count so excludes Race & ActorBase Spells.
- Due to the likelihood of calling of this on a leveled actor, the function will return 0 unless you call Actor.GetLeveledActorBase() on it. Then the correct count will appear. Refer to the notes about using Actor.GetActorBase() on leveled actors for more explaination, when using the GetActorBase version of this function.
Examples
Int SpellsAddedNum = PlayerRef.GetSpellCount()Auto-Generated Example
int returnedValue = myActor__toCallFunctionOn.GetSpellCount()Related Pages
- Actor
- Actor.GetNthSpell(...)
