GetMagicEffects- Potion
Jump to navigation
Jump to search
SKSE Member of: Potion Script
Returns the magics effects attached to a potion in order. (This function requires SKSE)
Syntax[edit | edit source]
MagicEffect[] Function GetMagicEffects() native
Return Value[edit | edit source]
Returns the magic effect areas of the effects attached to this potion in order.
Examples[edit | edit source]
MagicEffect[] effects = potion.GetMagicEffects()
Debug.Trace("Potion has magic effects" + effects)
Notes[edit | edit source]
- Return value can be misleading. This function returns an array of magic effects.