OnWorkshopObjectGrabbed - ObjectReference
Revision as of 16:18, 18 November 2015 by imported>Plplecuyer (→Parameters)
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