GetTimeElapsed - ActiveMagicEffect

From the CreationKit Wiki
Jump to navigation Jump to search

SKSE Member of: ActiveMagicEffect Script

Returns the Elapsed time of the Active Magic Effect.

Syntax[edit | edit source]

float Function GetTimeElapsed() native

Return Value[edit | edit source]

Returns the Time Elapsed

Examples[edit | edit source]

Float TimeElapsed = Buff.GetTimeElapsed()
Debug.Trace("The Buff has lasted " + TimeElapsed)

Notes[edit | edit source]

  • This function returns the number of seconds the effect exists, whether or not it`s active.

See Also[edit | edit source]