Difference between revisions of "SetNthEffectMagnitude - Potion"
Jump to navigation
Jump to search
imported>Notanon |
imported>Notanon |
||
Line 15: | Line 15: | ||
== Set Value == | == Set Value == | ||
Sets the magnitude of the Nth effect attached to this | Sets the magnitude of the Nth effect attached to this potion. | ||
== Examples == | == Examples == | ||
<source lang="papyrus"> | <source lang="papyrus"> | ||
float magnitude = | float magnitude = potion.SetNthEffectMagnitude(0) | ||
Debug.Trace(" | Debug.Trace("Potions first effect has been set to a magnitude of " + magnitude) | ||
</source> | </source> | ||
== See Also == | == See Also == | ||
*[[Potion Script]] | *[[Potion Script]] |
Revision as of 01:15, 9 June 2015
SKSE Member of: Potion Script
Sets the magnitude of the Nth effect attached to this potion. (This function requires SKSE)
Syntax
float Function GetNthEffectMagnitude(int n) native
Parameters
- n: The index of which effect magnitude will be set.
Set Value
Sets the magnitude of the Nth effect attached to this potion.
Examples
float magnitude = potion.SetNthEffectMagnitude(0)
Debug.Trace("Potions first effect has been set to a magnitude of " + magnitude)