SetEnchantment

From the Oblivion ConstructionSet Wiki
Revision as of 14:23, 10 September 2007 by imported>WereWolf (Added see also links)
Jump to navigation Jump to search

A command for Oblivion Script Extender

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

Syntax:

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

Notes

  • Doesn't work on arrows.

See Also