Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
I am trying to figure out how to lock a button press until the player interacts with a object which then unlocks the button.
add property to the door which tells when the door is locked or unlocked . then add trigger which sends message "unlockdoor" (and unlocks the door(sets locked to 0)) . then add animation