OnWorkshopObjectDestroyed - ObjectReference
Member of: ObjectReference Script
Event received when a workshop item is removed from world and added back into this workshop. The event is sent to both the Workshop reference and the reference being removed.
SyntaxEdit
Event OnWorkshopObjectDestroyed(ObjectReference akActionRef)
ParametersEdit
- akActionRef: If the script is on a Workshop reference, the ObjectReference that was just destroyed. If the script is on the destroyed reference, this is the Workshop reference.
ExamplesEdit
Event OnWorkshopObjectDestroyed(ObjectReference akActionRef)
Debug.Trace(akActionRef+ " a reference destroyed and added back into workshop.")
EndEvent