ConstructibleComponent Struct - ConstructibleObject

Revision as of 23:44, 15 July 2024 by Ptmc (talk | contribs) (Struct uses Form instead of Component to handle both components and things that can't be components, like weapons.)

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
	Form 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