GetDuration - ActiveMagicEffect

From Creation Kit
Jump to: navigation, search

SKSE Member of: ActiveMagicEffect Script

Returns the Duration of the Active Magic Effect.

Syntax

float Function GetDuration() native

Return Value

Returns the Duration of the Magic Effect

Examples

Float Duration = Poison.GetDuration()
Debug.Trace("The Poison will last " + Duration)

See Also