Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×
Create a free account

Detecting player interaction with Locked Doors/Windows

Hi All, I'm trying to trap when a player clicks on one of the new Window/Door icons to attempt to open it. I've added an On Changed event that fires for an unlocked object, but only fires for locked objects the first time a player interacts with the object.  All subsequent interactions do not appear to generate the change event.  Is there an On Click event, or something similar, which I can use?  Basically I want to check to see if a player has a key when they try to open a locked object, and change status to unlocked of they do. Many Thanks for you help guys Andy
1672421587
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
Hi Andy, I have made an official request for just such event registration. There's a lot you can do with it. If you want your request to have more visibility, I would suggest posting this in the official feedback thread . It's unlikely to be even seen, as a standalone post.
Thanks Keith.  This was more a request to see if something existed already.  I'll add this to the feedback thread as suggested and hope that we can get something soon.