GetNumEffects - Enchantment

From Creation Kit
(Redirected from GetNumEffects - Scroll)
Jump to: navigation, search

SKSE Member of: Enchantment Script, Ingredient Script, Potion Script, Scroll Script, and Spell Script

Returns the number of effects on this enchantment, ingredient, potion, or spell. (This function requires SKSE)

Syntax

int Function GetNumEffects() native

Parameters

None

Return Value

Returns the number of effects on this enchantment, ingredient, potion, or spell.

Examples

int numEffects = enchantment.GetNumEffects()
Debug.Trace("Enchantment has " + numEffects + " effects.")

See Also