Difference between revisions of "GetEffectMagnitudes - Potion"
Jump to navigation
Jump to search
imported>Palingard |
imported>Palingard |
||
Line 16: | Line 16: | ||
== Examples == | == Examples == | ||
<source lang="papyrus"> | <source lang="papyrus"> | ||
float[] magnitudes = potion.GetEffectMagnitudes( | float[] magnitudes = potion.GetEffectMagnitudes() | ||
Debug.Trace("Potion has effects in order of magnitude of " + magnitudes) | Debug.Trace("Potion has effects in order of magnitude of " + magnitudes) | ||
</source> | </source> |
Latest revision as of 08:38, 23 September 2016
SKSE Member of: Potion Script
Returns the effects in order of magnitude attached to a potion. (This function requires SKSE)
Syntax[edit | edit source]
float[] Function GetEffectMagnitudes() native
Return Value[edit | edit source]
Returns the magnitude of the effects attached to this potion in order.
Examples[edit | edit source]
float[] magnitudes = potion.GetEffectMagnitudes()
Debug.Trace("Potion has effects in order of magnitude of " + magnitudes)