GetEffectAreas- Potion
Revision as of 01:00, 9 June 2015 by 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...")
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(int n) native
Parameters
- n: The number of effect areas in order that will be returned.
Return Value
Returns the effect areas of the effects attached to this potion in order.
Examples
int duration = potion.GetEffectAreas(1)
Debug.Trace("Potion has effect areas in order of " + magnitude)