Screen Shake

I'm trying to use the screen shake event command to make the screen shake more than once, and after leaving the event that activates it. For arguments sake let's say I walk into a room, press a button to make the screen shake, and then leave. How can I get the screen to continue shaking more than once, even after leaving?
I want to be sure I got you right you want the room to still shake even after you leave it? as in you leave and come back to a shaking room?
Hmm... Alright, I might have misunderstood your question but what I would do is set up a common event to be triggered by a switch and run parallel, it would continue to play repeatedly until the switch that triggered it was turned off.

I know, I know... A lot of people hate parallel processing, but it is there for a reason. Just be careful not to OVERUSE it or it will start glitching as events compete with each other.

Of course, a scripter might be able to offer a better solution.

*EDIT

Just remember, "Autorun" does not allow the actor to move during it, "Parallel Processing" does.
Actually, I wanted all the rooms to continue shaking until it was stopped somehow Jayje.

I'll try that out Cadh, and get back to you. I don't use parallel processing anywhere else, so it should be ok.

EDIT: That appears to be working so far, thanks!

Original thread: https://forums.rpgmakerweb.com/threads/screen-shake.19030/