GetEffectsMagnitude - Potion

Revision as of 09:37, 23 September 2016 by imported>Palingard
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

SKSE Member of: Potion Script

Returns the effects in order of magnitude attached to a potion. (This function requires SKSE)

SyntaxEdit

float[] Function GetEffectMagnitudes(int n) native

ParametersEdit

  • n: The number of magnitudes in order that will be returned.

Return ValueEdit

Returns the magnitude of the effects attached to this potion in order.

ExamplesEdit

float[] magnitudes = potion.GetEffectMagnitudes(1)
Debug.Trace("Potion has effects in order of magnitude of " + magnitudes)

See AlsoEdit