GetEffectDurations - Potion

From Creation Kit
Jump to: navigation, search

SKSE Member of: Potion Script

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

Syntax

int[] Function GetEffectDurations() native

Return Value

Returns the durations of the effects attached to this potion.

Examples

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

See Also