- Found in:
- SKSE
voidfunctionCreateEnchantment(floatmaxCharge, MagicEffect[]effects, float[]magnitudes, int[]areas, int[]durations)Native
Description
Documentation Comment
Creates a new enchantment on the item given the specified parameters
all arrays must be the same size
created enchantments are not purged from the save when removed or overwritten
exact same enchantments are re-used by the game
Caveats
Parameters
Examples
Auto-Generated Example
float myFloat__maxCharge
MagicEffect[] myMagicEffectArray__effects
float[] myFloatArray__magnitudes
int[] myIntArray__areas
int[] myIntArray__durations
myObjectReference__toCallFunctionOn.CreateEnchantment(myFloat__maxCharge, myMagicEffectArray__effects, myFloatArray__magnitudes, myIntArray__areas, myIntArray__durations)