GetEffectAreas- Potion

From the CreationKit Wiki
Revision as of 02: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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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)

See Also