GetEffectDurations - Potion

From the CreationKit Wiki
Jump to navigation Jump to search

SKSE Member of: Potion Script

Gets the durations of the effects attached to this potion. (This function requires SKSE)

Syntax[edit | edit source]

int[] Function GetEffectDurations() native

Return Value[edit | edit source]

Returns the durations of the effects attached to this potion.

Examples[edit | edit source]

int[] durations = potion.GetEffectDurations()
Debug.Trace("Potion has a number of duration of effects of " + durations)

See Also[edit | edit source]