Difference between revisions of "SetNthEffectMagnitude - Spell"
Jump to navigation
Jump to search
imported>CraftySentinel (Created SetNthEffectMagnitude - Spell) |
imported>Egocarib (Note on persistence; form simplification) |
||
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
''' | '''SKSE Member of:''' [[Ingredient Script]], [[Potion Script]], [[Scroll Script]], [[Spell Script]] | ||
Sets the magnitude of the specified effect. | |||
Sets the magnitude of the specified effect | |||
== Syntax == | == Syntax == | ||
Line 11: | Line 9: | ||
</source> | </source> | ||
== Parameters == | |||
*index: The index of the Magic Effect to change. | |||
*value: The Magnitude 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 == |
Revision as of 23:53, 20 November 2013
SKSE Member of: Ingredient Script, Potion Script, Scroll Script, Spell Script
Sets the magnitude of the specified effect.
Syntax
Function SetNthEffectMagnitude(int index, float value) native
Parameters
- index: The index of the Magic Effect to change.
- value: The Magnitude to set the Magic Effect to.
Notes
- Changes made by this function will not persist across game reloads. Using a maintenance function is one way to maintain them.