SetNthEffectDuration - Spell

From the CreationKit Wiki
Revision as of 23:54, 20 November 2013 by imported>Egocarib (Note on persistence, etc)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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]