Difference between revisions of "GetMagnitude - ActiveMagicEffect"

From the CreationKit Wiki
Jump to navigation Jump to search
imported>Terra Nova2
(Created GetMagnitude page.)
 
imported>Thor
Line 13: Line 13:
== Return Value ==
== Return Value ==
Returns the Magnitude of the Magic Effect
Returns the Magnitude of the Magic Effect
It will compile but will not execute if the effect has no duration.


== Examples ==
== Examples ==

Revision as of 09:57, 13 December 2020

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