OnWorkshopObjectGrabbed - ObjectReference

Member of: ObjectReference Script

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.

SyntaxEdit

Event OnWorkshopObjectGrabbed(ObjectReference akReference)

ParametersEdit

  • akActionRef: 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.

ExamplesEdit

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

See AlsoEdit