Background for Fallout 4
Member of the ObjectReference script

Description

Wiki Description

Event received when the player grabs an existing object reference for edit while in Workshop mode. The event is sent to both the Workshop reference and the reference being grabbed.

Documentation Comment

Event received when the player grabs an existing object reference for edit while in Workshop mode.


Parameters

  1. ObjectReferenceakReference


Examples

Event OnWorkshopObjectGrabbed(ObjectReference akReference)
  Debug.Trace("The player just grabbed " + akReference + " in Workshop!")
EndEvent

Auto-Generated Example

Scriptname MyCoolScript extends ObjectReference

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