GetNthArmorAddon - Armor

From Creation Kit
Jump to: navigation, search

SKSE Member of: Armor Script

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

Syntax

ArmorAddon Function GetNthArmorAddon(int index) native

Parameters

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

Return Value

  • The nth ArmorAddon object of the armor.

Examples

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

See Also