Difference between revisions of "GetEffectAreas- 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 effects in order of area effected attached to a potion. (Thi...") |
imported>Palingard |
||
Line 8: | Line 8: | ||
== Syntax == | == Syntax == | ||
<source lang="papyrus"> | <source lang="papyrus"> | ||
int Function GetEffectAreas( | int Function GetEffectAreas() native | ||
</source> | </source> | ||
== Return Value == | == Return Value == | ||
Line 19: | Line 16: | ||
== Examples == | == Examples == | ||
<source lang="papyrus"> | <source lang="papyrus"> | ||
int duration = potion.GetEffectAreas( | int duration = potion.GetEffectAreas() | ||
Debug.Trace("Potion has effect areas in order of " + magnitude) | Debug.Trace("Potion has effect areas in order of " + magnitude) | ||
</source> | </source> |
Revision as of 08:39, 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
int Function GetEffectAreas() native
Return Value
Returns the effect areas of the effects attached to this potion in order.
Examples
int duration = potion.GetEffectAreas()
Debug.Trace("Potion has effect areas in order of " + magnitude)