GetMagicEffects- Potion
Revision as of 23:58, 25 April 2017 by imported>Lisselli (returns an array)
SKSE Member of: Potion Script
Returns the magics effects attached to a potion in order. (This function requires SKSE)
SyntaxEdit
MagicEffect[] Function GetMagicEffects() native
Return ValueEdit
Returns the magic effect areas of the effects attached to this potion in order.
ExamplesEdit
MagicEffect[] effects = potion.GetMagicEffects()
Debug.Trace("Potion has magic effects" + effects)
NotesEdit
- Return value can be misleading. This function returns an array of magic effects.