GetScrapItem - Component

From the Fallout4 CreationKit Wiki
Revision as of 14:42, 13 October 2017 by imported>Qazaaq (changed example code)
Jump to navigation Jump to search

F4SE Member of: Component Script

Returns the scrap item for this component.

Syntax

MiscObject Function GetScrapItem() Native

Parameters

None

Return Value

The MiscItem scrap item for this component.

Examples

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

Notes

None

See Also