Difference between revisions of "SetEnchantment"
Added obse link/Fixed syntax/Added Categories
imported>Haama (Created (hard to talk about a bug without an example)) |
imported>WereWolf (Added obse link/Fixed syntax/Added Categories) |
||
Line 1: | Line 1: | ||
A command for [[:Category:Oblivion Script Extender|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== | ==Notes== | ||
*Doesn't work on arrows. | *Doesn't work on arrows. | ||
[[Category: Functions]] | |||
[[Category: Functions (OBSE)]] | |||
[[Category: Magic Functions]] | |||
[[Category: Magic Functions (OBSE)]] |