Detect picking up

I was looking for a possibility to open a door, but not triggered by simply stepping in a certain area (triggered by a trigger volume), but triggered by "picking up" something or maybe by even the try to pick up something. In that way it would become possible to open a door by direct interaction with the mouse icon in desktop mode and the door would not open "suddenly" and maybe unintended. I think about a script event that reports of an ongoing pick up action on the object the script runs on with a parameter to cancel the pick up process. In that way you could react in another way as a result for the pick up try.

Is there already such a possibility (to open a door with direct interaction)? If so, I could not find it. And if not, what would you think of it?


Please sign in to leave a comment.