Difference between revisions of "GetEnchantment- ObjectReference"
m
Providing information on how this function works with multiple enchantments.
imported>Rasikko |
imported>BusinessGoose m (Providing information on how this function works with multiple enchantments.) |
||
Line 22: | Line 22: | ||
== Notes == | == Notes == | ||
* This is the only way to obtain player created enchantments. Items equipped on the player, with custom enchantments will return none if used with [[GetEnchantment - Armor]]. In order to get player created enchantments, this function must be used on the item outside of a container. | * This is the only way to obtain player created enchantments. Items equipped on the player, with custom enchantments will return none if used with [[GetEnchantment - Armor]]. In order to get player created enchantments, this function must be used on the item outside of a container. | ||
* This function works with objects with multiple enchantments (possible with the extra effects perk) as the objects actually only contain one enchantment. The magic effects from the second enchantment are stacked onto the first. | |||
== See Also == | == See Also == | ||
*[[ObjectReference Script]] | *[[ObjectReference Script]] | ||
*[[Enchantment Script]] | *[[Enchantment Script]] |