Background for Fallout 4
Member of the ObjectReference script

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

  1. ObjectReferenceakReference


Examples

Event OnWorkshopObjectDestroyed(ObjectReference akActionRef)
  Debug.Trace(akActionRef+ " a reference destroyed and added back into workshop.")
EndEvent

Auto-Generated Example

Scriptname MyCoolScript extends ObjectReference

event OnWorkshopObjectDestroyed(ObjectReference akReference)
    Debug.trace("Event received - OnWorkshopObjectDestroyed: akReference = " + akReference)
endEvent

Related Pages


Additional References

View this event’s page on the Fallout 4 Creation Kit Wiki

Some data provided by the Fallout 4 Creation Kit Wiki. Licensed under the Creative Commons Attribution-Share Alike 4.0 license.