Difference between revisions of "SetNthEffectDuration - Spell"
Jump to navigation
Jump to search
imported>CraftySentinel (Created SetNthEffectDuration - Spell) |
imported>Egocarib (Note on persistence, etc) |
||
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
''' | '''SKSE Member of:''' [[Ingredient Script]], [[Potion Script]], [[Scroll Script]], [[Spell Script]] | ||
Sets the duration of the specified effect. | Sets the duration of the specified effect. | ||
Line 11: | Line 9: | ||
</source> | </source> | ||
== Parameters == | |||
*index: The index of the Magic Effect to change. | |||
*value: The Duration to set the Magic Effect to. | |||
== Notes == | |||
*Changes made by this function will not persist across game reloads. Using a [[Complete_Example_Scripts#Maintenance.2Fupdate_code_which_runs_once_per_save_load_and_shows_a_message_when_a_mod_is_updated_or_first_loaded|maintenance function]] is one way to maintain them. | |||
== See Also == | == See Also == |
Latest revision as of 23:54, 20 November 2013
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.