OnWorkshopObjectMoved - ObjectReference

Member of: ObjectReference Script

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

SyntaxEdit

Event OnWorkshopObjectMoved(ObjectReference akReference)

ParametersEdit

  • akActionRef: If the script is on a Workshop reference, the ObjectReference that was just moved. If the script is on the moved reference, this is the Workshop reference.

ExamplesEdit

Event OnWorkshopObjectMoved(ObjectReference akReference)
  Debug.Trace(akReference + " just moved within the workshop!")
EndEvent

See AlsoEdit