Difference between revisions of "ConstructibleComponent Struct - ConstructibleObject"
Jump to navigation
Jump to search
imported>Qazaaq m (removed wiki link) |
imported>Qazaaq (added required f4se version) |
||
Line 1: | Line 1: | ||
'''F4SE Member of:''' [[ConstructibleObject Script]] | '''F4SE Member of:''' [[ConstructibleObject Script]] | ||
{{Template:Papyrus:RequiredF4SE|version=0.4.2}} | |||
A structure that holds information about a constructible object's required item list. | A structure that holds information about a constructible object's required item list. |
Revision as of 13:07, 21 January 2018
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
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)