SetEnchantment - Armor

From the CreationKit Wiki
Revision as of 16:17, 21 October 2012 by imported>Dienes (Created page with "Category:Scripting Category:Papyrus Category:SKSE '''SKSE Member of:''' Armor Script, Weapon Script Sets the enchantment associated...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

SKSE Member of: Armor Script, Weapon Script

Sets the enchantment associated with this armor. Note refers to the base object, not an object reference. (This function requires SKSE)

Syntax

Function SetEnchantment(Enchantment e) native

Parameters

The enchantment to be associated with that armor.

Return Value

none

Examples

; Set the enchantment on ArmorProperty
ArmorProperty.SetEnchantment(EnchantmentProperty)

See Also