SetScrapItem - Component

From the Fallout4 CreationKit Wiki
Revision as of 13:05, 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.

Sets the scrap item for this component.

Syntax[edit | edit source]

Function SetScrapItem(MiscObject akMisc) Native

Parameters[edit | edit source]

  • akMisc: The MiscItem scrap item for this component.

Return Value[edit | edit source]

None

Examples[edit | edit source]

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

Notes[edit | edit source]

None

See Also[edit | edit source]