GetEffectAreas- Potion

From the CreationKit Wiki
Revision as of 08:41, 23 September 2016 by imported>Palingard
(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[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)

See Also[edit | edit source]