OnGrab
Jump to navigation
Jump to search
Syntax:
begin OnGrab
This block will be run once when the scripted object is "grabbed" by the player (picked up using the "grab" key). This block is symmetrical with OnRelease -- for every call to OnGrab, a corresponding call to OnRelease will be made when the object is released.
Notes[edit | edit source]
- This block will run on a container if it is grabbed. The container will be released in the same frame, causing the OnRelease block to be run.