Difference between revisions of "SetEnchantment"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>WereWolf
(Added see also links)
imported>WereWolf
Line 1: Line 1:
A command for [[:Category:Oblivion Script Extender|Oblivion Script Extender]]
A command for [[:Category:Oblivion Script Extender|Oblivion Script Extender]]


Sets the specific enchantment on the object and returns any previous enchantment.
'''Syntax:'''
'''Syntax:'''
  (oldEnchantment:ref) ''reference.''SetEnchantment nuEnchantment:ref ''objectID:ref''
  (oldEnchantment:ref) ''reference.''SetEnchantment nuEnchantment:ref ''objectID:ref''


Sets the specific enchantment on the object and returns any previous enchantment.
==Notes==
==Notes==
*Doesn't work on arrows.
*Doesn't work on arrows.

Revision as of 14:11, 14 September 2007

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