ConstructibleComponent Struct - ConstructibleObject

From the Fallout4 CreationKit Wiki
Revision as of 13:07, 21 January 2018 by imported>Qazaaq (added required f4se version)
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

Struct ConstructibleComponent
	Component Object
	int Count
EndStruct

Members


Examples

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

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

See Also