GetScrapItem - Component

From Creation Kit
Jump to: navigation, search

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

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