GetEffectMagnitudes - Potion

From the CreationKit Wiki
Revision as of 08:38, 23 September 2016 by imported>Palingard
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

SKSE Member of: Potion Script

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

Syntax

float[] Function GetEffectMagnitudes() native

Return Value

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

Examples

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

See Also