Background for Fallout 4
Member of the PowerGridTools script
boolfunctionScrap(ObjectReferenceakRef, ObjectReferenceakWorkshopRef=NONE)NativeGlobal

Description

Documentation Comment

Scraps the specified workshop object.
If akWorkshopRef is None, the workshop for the settlement that the player is currently in will be used. If Workshop mode is currently active, the currently opened workshop is always used, regardless of the setting.


Caveats


Parameters

ObjectReferenceakRef

ObjectReferenceakWorkshopRef=NONE


Examples

Auto-Generated Example

ObjectReference myObjectReference__akRef
ObjectReference myObjectReference__akWorkshopRef

bool returnedValue = PowerGridTools.Scrap(myObjectReference__akRef, myObjectReference__akWorkshopRef)
Some data provided by the Fallout 4 Creation Kit Wiki. Licensed under the Creative Commons Attribution-Share Alike 4.0 license.