Difference between revisions of "GetTimeElapsed - ActiveMagicEffect"

From the CreationKit Wiki
Jump to navigation Jump to search
imported>Terra Nova2
m
Line 21: Line 21:


</source>
</source>
== Notes ==
* This function returns the number of seconds the effect '''exists''', whether or not its active.


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

Revision as of 07:56, 13 July 2023

SKSE Member of: ActiveMagicEffect Script

Returns the Elapsed time of the Active Magic Effect.

Syntax

float Function GetTimeElapsed() native

Return Value

Returns the Time Elapsed

Examples

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

Notes

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

See Also