GetNumEffects - Enchantment
Revision as of 15:50, 5 September 2012 by imported>Cipscis (Cipscis moved page GetNumEffects to GetNumEffects - Enchantment: Standardising name)
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.")