[Time in MS] [Toggled] [Input Event] [Target] [Output Event] [Params]
0 | x | onKeyHit | self | doorOpen |
2000 | x | onKeyHit | self | doorClose |
0 | x | onKeyHit | self | toggleEventEnabled | 0 1 2 3
2000 | x | onKeyHit | self | toggleEventEnabled | 0 1 2 3
It's been a while since I've messed with the key events, but you should get the point.
The first two goes on ahead and opens, and sets out to close the door while the last two disables it to prevent it from being spammed and then after two seconds pass re-enable the events.