Background for Skyrim SE

Enchantment


Inheritance Tree

No indexed scripts extend this script.

Properties
Events
Functions
boolfunctionIsHostile()Native

Returns whether this enchantment is considered hostile or not.

intfunctionGetNumEffects()Native

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

floatfunctionGetNthEffectMagnitude(intindex)Native

Returns the magnitude of the Nth effect attached to this enchantment, ingredient, potion, or spell. (This function requires SKSE)

intfunctionGetNthEffectArea(intindex)Native

Returns the area of the Nth effect attached to this enchantment, ingredient, potion, or spell. (This function requires SKSE)

intfunctionGetNthEffectDuration(intindex)Native

Returns the duration of the Nth effect attached to this enchantment, ingredient, potion, or spell. (This function requires SKSE)

MagicEffectfunctionGetNthEffectMagicEffect(intindex)Native

Returns the Nth MagicEffect attached to this enchantment, ingredient, potion, or spell. (This function requires SKSE)

intfunctionGetCostliestEffectIndex()Native

Returns the index of the costliest effect on an enchantment, ingredient, potion, or spell. (This function requires SKSE)

voidfunctionSetNthEffectMagnitude(intindex, floatvalue)Native

sets the magnitude of the specified effect

voidfunctionSetNthEffectArea(intindex, intvalue)Native

sets the area of the specified effect

voidfunctionSetNthEffectDuration(intindex, intvalue)Native

sets the duration of the specified effect

returns the base enchantment of this enchantment

Returns a Formlist of Keywords

voidfunctionSetKeywordRestrictions(FormListnewKeywordList)Native

Sets the FormList of keywords

Some data provided by the Skyrim Creation Kit Wiki. Licensed under the Creative Commons Attribution-ShareAlike license.