GetScrapItem - Component

From the Fallout4 CreationKit Wiki
Revision as of 13:03, 21 January 2018 by imported>Qazaaq (added required f4se version)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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

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