Background for Fallout 4
Member of the ConstructibleObject script
ConstructibleObject:ConstructibleComponent[]functionGetConstructibleComponents()Native

Description

Wiki Description

Gets the required item list for this constructible object.


Caveats

CK Wiki - Notes

None


Examples

; Get this constructible objects required item list.
ConstructibleObject:ConstructibleComponent[] constructibleComponents = myConstructibleObject.GetConstructibleComponents()
Debug.Trace(constructibleComponents)
{For each required item}
ConstructibleObject:ConstructibleComponent[] constructibleComponents = myConstructibleObject.GetConstructibleComponents()
If (constructibleComponents)
    int index = 0
    While (index < constructibleComponents.Length)
        Debug.Trace("Found the required item '" + constructibleComponents[index] + "' at index " + index)
        index += 1
    EndWhile
Else
    Debug.Trace("The constructible objects required item list is none or empty.")
EndIf

Auto-Generated Example

ConstructibleObject:ConstructibleComponent[] returnedValue = myConstructibleObject__toCallFunctionOn.GetConstructibleComponents()

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.