SetScrapItem - Component

From the Fallout4 CreationKit Wiki
Revision as of 14:41, 13 October 2017 by imported>Qazaaq (added f4se member)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

F4SE Member of: Component Script

Sets the scrap item for this component.

Syntax

Function SetScrapItem(MiscObject akMisc) Native

Parameters

  • akMisc: The MiscItem scrap item for this component.

Return Value

None

Examples

c_Gold.SetScrapItem(Baseball)
Debug.Trace(c_Gold+" now has "+" "+Baseball+" as its scrap item.")

Notes

None

See Also