Difference between revisions of "GetMagnitude - ActiveMagicEffect"
Jump to navigation
Jump to search
imported>Thor |
imported>Thor |
||
Line 12: | Line 12: | ||
== 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. | It will compile but will not execute if the effect has no duration. | ||
Revision as of 09:58, 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)