SetEnchantment

From the Oblivion ConstructionSet Wiki
Revision as of 14:21, 10 September 2007 by imported>WereWolf (Added obse link/Fixed syntax/Added Categories)
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.