Background for Starfield

ActiveMagicEffect


Inheritance Tree

No indexed scripts extend this script.

Structs
Properties
Events
Functions
voidfunctionDispel()Native

Will dispel this active magic effect.

MagicEffectfunctionGetBaseObject()Native

Obtains the MagicEffect this active magic effect is based on.

ActorfunctionGetCasterActor()Native

Obtains the Actor that cast the spell this effect is from.

floatfunctionGetDuration()Native

Get the duration of this effect

floatfunctionGetElapsedTime()Native

Get the elapsed time of this effect

FormfunctionGetMagicItem()Native

Gets the magic item associated with this effect. May be a Potion, Enchantment, Ingredient, or Spell

floatfunctionGetMagnitude()Native

Get the magnitude of this effect

Get the Resistance ActorValue of this effect

ActorfunctionGetTargetActor()Native

Obtains the Actor this active magic effect is applied to.

voidfunctionStartObjectProfiling()NativeDebugOnly

Turns on profiling for this specific object and all scripts attached to it - setting doesn't persist across saves
Will do nothing on release console builds, and if the Papyrus:bEnableProfiling ini setting is off

voidfunctionStopObjectProfiling()NativeDebugOnly

Turns off profiling for this specific object and all scripts attached to it - setting doesn't persist across saves
Will do nothing on release console builds, and if the Papyrus:bEnableProfiling ini setting is off

Some data provided by the Fallout 4 Creation Kit Wiki. Licensed under the Creative Commons Attribution-Share Alike 4.0 license.