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)

Syntax

MagicEffect[] Function GetMagicEffects() native

Return Value

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

Examples

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

Notes

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

See Also