Difference between revisions of "GetDuration - ActiveMagicEffect"

From the CreationKit Wiki
Jump to navigation Jump to search
imported>Wafflesalot
(Added missing SKSE category.)
imported>Terra Nova2
m
 
(One intermediate revision by the same user not shown)
Line 17: Line 17:
<source lang="papyrus">
<source lang="papyrus">


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


Line 24: Line 24:
== See Also ==
== See Also ==
*[[ActiveMagicEffect Script]]
*[[ActiveMagicEffect Script]]
*[[GetMagnitude - ActiveMagicEffect]]
*[[GetTimeElapsed - ActiveMagicEffect]]
*[[GetTimeElapsed - ActiveMagicEffect]]

Latest revision as of 10:38, 12 October 2014

SKSE Member of: ActiveMagicEffect Script

Returns the Duration of the Active Magic Effect.

Syntax[edit | edit source]

float Function GetDuration() native

Return Value[edit | edit source]

Returns the Duration of the Magic Effect

Examples[edit | edit source]

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

See Also[edit | edit source]