SetEnchantment

From the Oblivion ConstructionSet Wiki
Revision as of 12:33, 13 February 2008 by imported>Haama (Waiting for another update)
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