- Found in:
- Workshop Framework
Description
Documentation Comment
This effectively scraps an object, with everything except the provision of resourced. It handles all of the other required background activity to remove a settlement object safely. Done via thread engine.
Parameters:
ObjectReference akRemoveRef - The objectreference to remove.
Form akRegisterMeForEvent [Optional] - The object or quest you would like to receive the WorkshopFramework:PlaceObjectManager.ObjectRemoved events. If you don't need to track the items, leave this field as None.
Parameters
ObjectReferenceakRemoveRef
FormakRegisterMeForEvent=NONE
Examples
Auto-Generated Example
ObjectReference myObjectReference__akRemoveRef
Form myForm__akRegisterMeForEvent
int returnedValue = WorkshopFramework:WSFW_API.RemoveSettlementObject(myObjectReference__akRemoveRef, myForm__akRegisterMeForEvent)