I'm working on implementing pressure plates that can open doors when the player, a pushable box, or enemies stand on it. Then if they go off of the pressure plate the door slams shut. The events below are how I am doing that.
For the box (events 30 and 31) it works as intended. However when I try to use the same events with the enemies I run into problems. The pressure plate goes down and the door opens but when the enemy walks off the pressure plate does not pop back up and the door remains open. I tried adding "For Each" events to specify the enemy, but the results are the same. I guess I must be missing something.