Background for Fallout 4
Member of the ObjectReference script

Description

Wiki Description

Event received when a workshop item is placed in the world using this workshop. The event is sent to both the Workshop reference and the reference being placed.

Documentation Comment

Event received when a workshop item is placed in the world


Parameters

  1. ObjectReferenceakReference

    CK Wiki Description

    If the script is on a Workshop reference, the ObjectReference that was just placed. If the script is on the placed reference, this is the Workshop reference.


Examples

Event OnWorkshopObjectPlaced(ObjectReference akReference)
  Debug.Trace(akReference + " just added to world from workshop!")
EndEvent

Auto-Generated Example

Scriptname MyCoolScript extends ObjectReference

event OnWorkshopObjectPlaced(ObjectReference akReference)
    Debug.trace("Event received - OnWorkshopObjectPlaced: 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.