SetEnchantment

From the Oblivion ConstructionSet Wiki
Revision as of 13:15, 13 February 2008 by imported>Haama (→‎Notes: Udpated note)
Jump to navigation Jump to search

A command for Oblivion Script Extender

Syntax:

(oldEnchantment:ref) reference.SetEnchantment nuEnchantment:ref objectID:ref

Sets the specific enchantment on the object and returns any previous enchantment.

Notes

  • Can cause oddities and CTDs when used on arrows.
    • Fixed as of v0014a.

See Also