GetEffectMagnitudes - Potion

Revision as of 09:38, 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() native

Return ValueEdit

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

ExamplesEdit

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

See AlsoEdit