Background for Starfield

The ActiveMagicEffect Script

    The ActiveMagicEffect script is a part of Starfield’s Papyrus scripting ecosystem. It is included with the base game.

    For this script, the Papyrus index knows about:

    • 140 events
    • 11 functions


    Inheritance Tree

    No indexed scripts extend this script.

    Structs

    The Papyrus Index is still under construction. Structs have not been implemented yet.

      Properties

      No properties found.

        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.