GetMagicEffects- Potion

From Creation Kit
Jump to: navigation, search

SKSE Member of: Potion Script

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


MagicEffect[] Function GetMagicEffects() native

Return Value

Returns the magic effect areas of the effects attached to this potion in order.


MagicEffect[] effects = potion.GetMagicEffects()
Debug.Trace("Potion has magic effects" + effects)


  • Return value can be misleading. This function returns an array of magic effects.

See Also