Background for Skyrim SE

MagExtend


Inheritance Tree

No indexed scripts extend this script.

Properties
Events
Functions
voidfunctionSetMGEFArchetype(MagicEffectmgef, stringarchetype, stringprimaryAV="", FormrelatedForm=NONE, stringsecondaryAV="", floatsecondAVWeight=1.0)NativeGlobal

Sets the inputted mgef to use a new Magic Effect Archetype. Different Archetypes require different parameters to be sent.
Parameters are checked internally and the function will abort if any essential data is missing (SEE LIST BELOW).

voidfunctionSetMGEFPrimaryAV(MagicEffectmgef, stringprimaryAV)NativeGlobal

Change primary Actor Value data for archetypes that use it (SEE LIST BELOW)

voidfunctionSetMGEFSecondaryAV(MagicEffectmgef, stringsecondaryAV)NativeGlobal

Secondary Actor Value functions only work with a "DualValueMod" archetype

voidfunctionSetMGEFSecondaryAVWeight(MagicEffectmgef, floatsecondAVWeight)NativeGlobal
voidfunctionSetMGEFRelatedForm(MagicEffectmgef, FormrelatedForm)NativeGlobal

Change Form data used by current archetype. Form type passed in must be valid for this archetype (SEE LIST BELOW)

stringfunctionGetMGEFArchetype(MagicEffectmgef)NativeGlobal

Retrieve the Magic Effect's current archetype as a string (SEE LIST BELOW)

intfunctionGetMGEFArchetypeNum(MagicEffectmgef)NativeGlobal

Retrieve the Magic Effect's current archetype by its integer value (SEE LIST BELOW)

stringfunctionGetMGEFPrimaryAV(MagicEffectmgef)NativeGlobal
stringfunctionGetMGEFSecondaryAV(MagicEffectmgef)NativeGlobal
floatfunctionGetMGEFSecondaryAVWeight(MagicEffectmgef)NativeGlobal
FormfunctionGetMGEFRelatedForm(MagicEffectmgef)NativeGlobal
voidfunctionSetMGEFTaperDuration(MagicEffectmgef, floattDuration)NativeGlobal

Set the taper duration/weight/curve for this Magic Effect. Taper values can be changed regardless of archetype.

voidfunctionSetMGEFTaperWeight(MagicEffectmgef, floattWeight)NativeGlobal
voidfunctionSetMGEFTaperCurve(MagicEffectmgef, floattCurve)NativeGlobal
voidfunctionSetMGEFTaperValues(MagicEffectmgef, floattDuration, floattWeight, floattCurve)NativeGlobal

Set all three taper values at once.

floatfunctionGetMGEFTaperDuration(MagicEffectmgef)NativeGlobal
floatfunctionGetMGEFTaperWeight(MagicEffectmgef)NativeGlobal
floatfunctionGetMGEFTaperCurve(MagicEffectmgef)NativeGlobal
voidfunctionSetActiveEffectMagnitude(ActiveMagicEffectAME, floatnewMag)NativeGlobal

Version 1.03 beta additions:

boolfunctionSetActiveEffectDuration(ActiveMagicEffectAME, floatnewDur)NativeGlobal

will fail and return false if (newDur - AME.getTimeElapsed()) is less than 1 second:

Some data provided by the Skyrim Creation Kit Wiki. Licensed under the Creative Commons Attribution-ShareAlike license.