GetEffectMagnitudes - Potion
Revision as of 08:38, 23 September 2016 by imported>Palingard
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(1)
Debug.Trace("Potion has effects in order of magnitude of " + magnitudes)