Mod:Creation Kit/ConstructibleComponent Struct - ConstructibleObject

F4SE Member of: Mod:Creation Kit/ConstructibleObject Script

A structure that holds information about a constructible object's required item list.

Syntax
Struct ConstructibleComponent Component Object int Count EndStruct

Members

 * Object: The required Mod:Creation Kit/Component for a Mod:Creation Kit/Constructible Object.
 * Count: The amount of the component that is required.

Examples
ConstructibleObject:ConstructibleComponent constructibleComponent = new ConstructibleObject:ConstructibleComponent constructibleComponent.Object = c_Gold constructibleComponent.Count = 100

Debug.Trace("Object: " + constructibleComponent.Object) Debug.Trace("Count: " + constructibleComponent.Count)