GetNumEffects - Enchantment

From the CreationKit Wiki
Revision as of 15:50, 5 September 2012 by imported>Cipscis (Cipscis moved page GetNumEffects to GetNumEffects - Enchantment: Standardising name)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to 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[edit | edit source]

int Function GetNumEffects() native

Parameters[edit | edit source]

None

Return Value[edit | edit source]

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

Examples[edit | edit source]

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

See Also[edit | edit source]