Background for Skyrim SE
Member of the Enchantment script
floatfunctionGetNthEffectMagnitude(intindex)Native

Description

Wiki Description

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

Documentation Comment

return the magnitude of the specified effect


Parameters

  1. intindex

    CK Wiki Description

    The index of which effect magnitude will be returned.


Examples

float magnitude = enchantment.GetNthEffectMagnitude(0)
Debug.Trace("Enchantments first effect has a magnitude of " + magnitude)

Auto-Generated Example

int myInt__index

float returnedValue = myEnchantment__toCallFunctionOn.GetNthEffectMagnitude(myInt__index)

Related Pages


Additional References

View this function’s page on the Skyrim Creation Kit Wiki

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