SetEnchantment

Revision as of 13:57, 3 April 2008 by imported>Haama (Reverted edits by Lowtime (Talk); changed back to last version by DragoonWraith)

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

  • Doesn't work on arrows.

See Also