Difference between revisions of "GetTimeElapsed - ActiveMagicEffect"

From the CreationKit Wiki
Jump to navigation Jump to search
 
Line 23: Line 23:


== Notes ==
== Notes ==
* This function returns the number of seconds the effect '''exists''', whether or not its active.
* This function returns the number of seconds the effect '''exists''', whether or not it`s active.


== See Also ==
== See Also ==

Latest revision as of 16:03, 7 June 2024

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]