GetMagnitude - ActiveMagicEffect

From the CreationKit Wiki
Revision as of 09:57, 13 December 2020 by imported>Thor (→‎Return Value)
Jump to navigation Jump to search

SKSE Member of: ActiveMagicEffect Script

Returns the Magnitude of the Active Magic Effect.

Syntax

float Function GetMagnitude() native

Return Value

Returns the Magnitude of the Magic Effect It will compile but will not execute if the effect has no duration.

Examples

;Used self variable. Self was the script attached to this magic effect. 

Float Magnitude = self.GetMagnitude()
Debug.Trace("This magic effect has a strength value of" +Magnitude)

See Also