Difference between revisions of "GetScrapItem - Component"
Jump to navigation
Jump to search
imported>Qazaaq (fixed wiki link) |
imported>Qazaaq (changed example code) |
||
Line 16: | Line 16: | ||
== Examples == | == Examples == | ||
<source lang="papyrus"> | <source lang="papyrus"> | ||
MiscObject goldScrap = | MiscObject goldScrap = c_Gold.GetScrapItem() | ||
Debug.Trace(goldScrap) | Debug.Trace(goldScrap) | ||
</source> | </source> |
Revision as of 14:42, 13 October 2017
F4SE Member of: Component Script
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