ConstructibleComponent Struct - ConstructibleObject
(Redirected from ConstructibleComponent - ConstructibleObject)
Jump to navigation
Jump to search
F4SE Member of: ConstructibleObject Script
Requires F4SE version 0.4.2 or higher.
A structure that holds information about a constructible object's required item list.
Syntax[edit | edit source]
Struct ConstructibleComponent
Form Object
int Count
EndStruct
Members[edit | edit source]
- Object: The required Component for a Constructible Object. Is a Form to handle items that aren't Components.
- Count: The amount of the component that is required.
Examples[edit | edit source]
ConstructibleObject:ConstructibleComponent constructibleComponent = new ConstructibleObject:ConstructibleComponent
constructibleComponent.Object = c_Gold
constructibleComponent.Count = 100
Debug.Trace("Object: " + constructibleComponent.Object)
Debug.Trace("Count: " + constructibleComponent.Count)