Background for Skyrim SE
Member of the MagExtend script
voidfunctionSetMGEFArchetype(MagicEffectmgef, stringarchetype, stringprimaryAV="", FormrelatedForm=NONE, stringsecondaryAV="", floatsecondAVWeight=1.0)NativeGlobal

Description

Documentation Comment

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).


Caveats


Parameters

MagicEffectmgef

stringarchetype

stringprimaryAV=""

FormrelatedForm=NONE

stringsecondaryAV=""

floatsecondAVWeight=1.0


Examples

Auto-Generated Example

MagicEffect myMagicEffect__mgef
string myString__archetype
string myString__primaryAV
Form myForm__relatedForm
string myString__secondaryAV
float myFloat__secondAVWeight

MagExtend.SetMGEFArchetype(myMagicEffect__mgef, myString__archetype, myString__primaryAV, myForm__relatedForm, myString__secondaryAV, myFloat__secondAVWeight)
Some data provided by the Skyrim Creation Kit Wiki. Licensed under the Creative Commons Attribution-ShareAlike license.