GetEffectMagnitudes - Potion

From the CreationKit Wiki
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[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)

See Also[edit | edit source]