Triggering an action after a SE ends?

I'm guessing the answer is no, but I still need to ask: is there any way to trigger an action at the time a SE finishes playing?
One option is to set the Wait command for the same length of time as the sound effect and then trigger the event. Another option is to use the Set Movement command. You can set the SE to play in the Set Movement box and check the option to force the program to wait until all the actions in the Set Movement command have completed before moving onto the next command in the event.
As @DeviTheHuman said, i'd go for wait command. You can open the song in a software program and calculate how long it lasts. Then call "wait" command on the frames it lasts. 


Well, that's what I would do.
SumRndmDde has a Plugin where you can simply call Plugin command 'Wait for SE'. And a lot of other useful stuff.


http://sumrndm.site/wait-options/
SumRndmDde has a Plugin where you can simply call Plugin command 'Wait for SE'. And a lot of other useful stuff.


http://sumrndm.site/wait-options/



This should do it.


And yeah, I had been using the wait command and matching the length of the SEs, but the issue there is that I'm implementing a pause feature that will allow the player to pause the game mid-voice line, and the voice line continues playing while paused. So if the game is to resume after pausing, I'll have to ensure that it doesn't wait the extra number of frames while paused before moving ahead.


Thanks all! 🙂
You can set the SE to play in the Set Movement box and check the option to force the program to wait until all the actions in the Set Movement command have completed before moving onto the next command in the event.



That's genius never thought of this^^

Original thread: https://forums.rpgmakerweb.com/threads/triggering-an-action-after-a-se-ends.70592/