Difference between revisions of "GetMagicEffects- Potion"
Jump to navigation
Jump to search
imported>Notanon (Created page with "Category:Scripting Category:Papyrus Category:SKSE '''SKSE Member of:''' Potion Script Returns the magics effects attached to a potion in order. (This function...") |
imported>Palingard |
||
Line 8: | Line 8: | ||
== Syntax == | == Syntax == | ||
<source lang="papyrus"> | <source lang="papyrus"> | ||
MagicEffect Function GetMagicEffects() native | MagicEffect[] Function GetMagicEffects() native | ||
</source> | </source> | ||
Line 16: | Line 16: | ||
== Examples == | == Examples == | ||
<source lang="papyrus"> | <source lang="papyrus"> | ||
MagicEffect effects = potion.GetMagicEffects() | MagicEffect[] effects = potion.GetMagicEffects() | ||
Debug.Trace("Potion has magic effects" + effects) | Debug.Trace("Potion has magic effects" + effects) | ||
</source> | </source> |
Revision as of 08:40, 23 September 2016
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)