Background for Skyrim SE
Member of the ObjectReference script
voidfunctionSetEnchantment(Enchantmentsource, floatmaxCharge)Native

Description

Documentation Comment

Changes an item's player-made enchantment to something else
None enchantment will remove the existing enchantment
does not delete the custom enchantment, only removes it


Caveats


Parameters

Enchantmentsource

floatmaxCharge


Examples

Auto-Generated Example

Enchantment myEnchantment__source
float myFloat__maxCharge

myObjectReference__toCallFunctionOn.SetEnchantment(myEnchantment__source, myFloat__maxCharge)
Some data provided by the Skyrim Creation Kit Wiki. Licensed under the Creative Commons Attribution-ShareAlike license.