- Found in:
- SKSE
Description
Wiki Description
Sets the duration of the Nth effect attached to this enchantment, ingredient, potion, or spell. (This function requires SKSE)
Documentation Comment
sets the duration of the specified effect
Caveats
Parameters
intindex
CK Wiki Description
The index of which effect duration will be set.
intvalue
Examples
int duration = enchantment.SetNthEffectDuration(0)
Debug.Trace("Enchantments first effect has been set to a duration of " + duration)Auto-Generated Example
int myInt__index
int myInt__value
myPotion__toCallFunctionOn.SetNthEffectDuration(myInt__index, myInt__value)