SetNthEffectDuration - Spell

From the CreationKit Wiki
Jump to navigation Jump to search

SKSE Member of: Ingredient Script, Potion Script, Scroll Script, Spell Script

Sets the duration of the specified effect.

Syntax[edit | edit source]

Function SetNthEffectDuration(int index, int value) native

Parameters[edit | edit source]

  • index: The index of the Magic Effect to change.
  • value: The Duration to set the Magic Effect to.

Notes[edit | edit source]

  • Changes made by this function will not persist across game reloads. Using a maintenance function is one way to maintain them.

See Also[edit | edit source]