Mod:Creation Kit/GetParents - EquipSlot

F4SE Member of: Mod:Creation Kit/EquipSlot Script

Gets the parents of this equipment slot.

Syntax
EquipSlot[] Function GetParents Native

Parameters
None

Return Value
Returns an array of this equipment slot's parent Equip Slots.

Examples
EquipSlot[] slots = BothHands.GetParents Debug.Trace(slots)
 * Get the parents of this equipment slot.

{For each parent slot} EquipSlot[] slots = BothHands.GetParents If (slots) int index = 0 While (index < slots.Length) Debug.Trace("Found the parent slot '" + slots[index] + "' at index " + index) index += 1 EndWhile Else Debug.Trace("The parent equipment slot array is none or empty.") EndIf