I am trying to figure out how to lock a button press until the player interacts with a object which then unlocks the button.
1 Answer
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