GetNthArmorAddon - Armor

From the CreationKit Wiki
Jump to navigation Jump to search

SKSE Member of: Armor Script

Returns the nth ArmorAddon object associated with this armor. (This function requires SKSE)

Syntax[edit | edit source]

ArmorAddon Function GetNthArmorAddon(int index) native

Parameters[edit | edit source]

index: Which ArmorAddon object to get. 0 will return the first, 1 the second, etc.

Return Value[edit | edit source]

  • The nth ArmorAddon object of the armor.

Examples[edit | edit source]

; Gets the first, and only, ArmorAddon object on ArmorOrcishCuirass
ArmorAddon orcishCuirassAA = (Game.GetForm(0x00013957) as Armor).GetNthArmorAddon(0)

See Also[edit | edit source]