GetScrapItem - Component

From the Fallout4 CreationKit Wiki
Revision as of 14: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[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]