Difference between revisions of "OnGrab - ObjectReference"
Jump to navigation
Jump to search
(Works for telekinesis too) |
|||
Line 4: | Line 4: | ||
'''Member of:''' [[ObjectReference Script]] | '''Member of:''' [[ObjectReference Script]] | ||
Event called when the object has been grabbed by the player (z-keyed). | Event called when the object has been grabbed by the player (z-keyed, or grabbed via telekinesis). | ||
== Syntax == | == Syntax == |
Latest revision as of 14:48, 3 June 2023
Member of: ObjectReference Script
Event called when the object has been grabbed by the player (z-keyed, or grabbed via telekinesis).
Syntax[edit | edit source]
Event OnGrab()
Parameters[edit | edit source]
None.
Examples[edit | edit source]
Event OnGrab()
Debug.Trace("Why you poking me again?")
endEvent