SetEnchantment

From the Oblivion ConstructionSet Wiki
Revision as of 11:09, 3 April 2008 by imported>Lowtime (correction:does work on arrows (requires OBSE 14a))
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

  • Does work on arrows since OBSE 14a.

See Also