Background for Fallout 4
Member of the EquipSlot script
EquipSlot[]functionGetParents()Native

Description

Wiki Description

Gets the parents of this equipment slot.

Documentation Comment

Returns the Nth parent slot


Caveats

CK Wiki - Notes

None


Examples

; Get the parents of this equipment slot.
EquipSlot[] slots = BothHands.GetParents()
Debug.Trace(slots)
{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

Auto-Generated Example

EquipSlot[] returnedValue = myEquipSlot__toCallFunctionOn.GetParents()

Related Pages


Additional References

View this function’s page on the Fallout 4 Creation Kit Wiki

Some data provided by the Fallout 4 Creation Kit Wiki. Licensed under the Creative Commons Attribution-Share Alike 4.0 license.