OnWorkshopObjectGrabbed - ObjectReference
Jump to navigation
Jump to search
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.
Syntax[edit | edit source]
Event OnWorkshopObjectGrabbed(ObjectReference akReference)
Parameters[edit | edit source]
- 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.
Examples[edit | edit source]
Event OnWorkshopObjectGrabbed(ObjectReference akReference)
Debug.Trace("The player just grabbed " + akReference + " in Workshop!")
EndEvent