Difference between revisions of "ConstructibleComponent Struct - ConstructibleObject"
Jump to navigation
Jump to search
imported>Qazaaq m (Scrivener07 moved page ConstructibleComponent - ConstructibleObject to ConstructibleComponent Struct - ConstructibleObject: missed struct in page name) |
imported>Qazaaq (description) |
||
Line 1: | Line 1: | ||
'''F4SE Member of:''' [[ConstructibleObject Script]] | '''F4SE Member of:''' [[ConstructibleObject Script]] | ||
A structure that holds information about a [[Constructible Object|Constructible Objects]] required item list | A structure that holds information about a [[Constructible Object|Constructible Objects]] required item list. | ||
== Syntax == | == Syntax == |
Revision as of 01:44, 16 October 2017
F4SE Member of: ConstructibleObject Script
A structure that holds information about a Constructible Objects required item list.
Syntax
Struct ConstructibleComponent
Component Object
int Count
EndStruct
Members
- Object: The required Component for a 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)