SetEnchantment

From the Oblivion ConstructionSet Wiki
Revision as of 12:57, 3 April 2008 by imported>Haama (Reverted edits by Lowtime (Talk); changed back to last version by DragoonWraith)
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

  • Doesn't work on arrows.

See Also