Difference between revisions of "ConstructibleComponent Struct - ConstructibleObject"

From the Fallout4 CreationKit Wiki
Jump to navigation Jump to search
(Struct uses Form instead of Component to handle both components and things that can't be components, like weapons.)
m (Form ended up pointing to a Glossary.)
 
Line 30: Line 30:
* [[Constructible Object]]
* [[Constructible Object]]
* [[Component]]
* [[Component]]
* [[Form]]
* [[Form Script]]
* [[GetConstructibleComponents - ConstructibleObject]]
* [[GetConstructibleComponents - ConstructibleObject]]
* [[SetConstructibleComponents - ConstructibleObject]]
* [[SetConstructibleComponents - ConstructibleObject]]

Latest revision as of 23:46, 15 July 2024

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]


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)

See Also[edit | edit source]