eventOnWorkshopObjectDestroyed(ObjectReferenceakReference)
Description
Wiki Description
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.
Documentation Comment
Event received when a workshop item is destroyed ( removed from world and added back to workshop )
Parameters
ObjectReferenceakReference
Examples
Event OnWorkshopObjectDestroyed(ObjectReference akActionRef)
Debug.Trace(akActionRef+ " a reference destroyed and added back into workshop.")
EndEventAuto-Generated Example
Scriptname MyCoolScript extends ObjectReference
event OnWorkshopObjectDestroyed(ObjectReference akReference)
Debug.trace("Event received - OnWorkshopObjectDestroyed: akReference = " + akReference)
endEvent