GetScrapItem - Component

From the Fallout4 CreationKit Wiki
Jump to navigation Jump to search

F4SE Member of: Component Script
Requires F4SE version 0.4.2 or higher.

Returns the scrap item for this component.

Syntax[edit | edit source]

MiscObject Function GetScrapItem() Native

Parameters[edit | edit source]

None

Return Value[edit | edit source]

The MiscItem scrap item for this component.

Examples[edit | edit source]

MiscObject goldScrap = c_Gold.GetScrapItem()
Debug.Trace(goldScrap)

Notes[edit | edit source]

None

See Also[edit | edit source]