Difference between revisions of "SetNthEffectDuration - Spell"

208 bytes added ,  23:54, 20 November 2013
Note on persistence, etc
imported>CraftySentinel
(Created SetNthEffectDuration - Spell)
 
imported>Egocarib
(Note on persistence, etc)
 
Line 1: Line 1:
__NOTOC__ __NOEDITSECTION__
__NOTOC__
'''Source:''' [[:Category:SKSE|SKSE]] 1.06.14
'''SKSE Member of:''' [[Ingredient Script]], [[Potion Script]], [[Scroll Script]], [[Spell Script]]
 
'''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 ====
== Parameters ==
 
*index: The index of the Magic Effect to change.
''index''
*value: The Duration to set the Magic Effect to.
::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 ==
Anonymous user