Difference between revisions of "GetEffectAreas- Potion"
Jump to navigation
Jump to search
imported>Palingard |
imported>Palingard |
||
Line 8: | Line 8: | ||
== Syntax == | == Syntax == | ||
<source lang="papyrus"> | <source lang="papyrus"> | ||
int Function GetEffectAreas() native | int[] Function GetEffectAreas() native | ||
</source> | </source> | ||
Line 16: | Line 16: | ||
== Examples == | == Examples == | ||
<source lang="papyrus"> | <source lang="papyrus"> | ||
int | int[] areas = potion.GetEffectAreas() | ||
Debug.Trace("Potion has effect areas in order of " + | Debug.Trace("Potion has effect areas in order of " + areas) | ||
</source> | </source> | ||
== See Also == | == See Also == | ||
*[[Potion Script]] | *[[Potion Script]] |
Latest revision as of 08:41, 23 September 2016
SKSE Member of: Potion Script
Returns the effects in order of area effected attached to a potion. (This function requires SKSE)
Syntax[edit | edit source]
int[] Function GetEffectAreas() native
Return Value[edit | edit source]
Returns the effect areas of the effects attached to this potion in order.
Examples[edit | edit source]
int[] areas = potion.GetEffectAreas()
Debug.Trace("Potion has effect areas in order of " + areas)