Author Topic: Wait for sound to finish?  (Read 2315 times)


  • Junior Playmaker
  • **
  • Posts: 79
    • View Profile
Wait for sound to finish?
« on: June 15, 2013, 05:19:31 AM »
I've got a scene where I'm trying to make a character talk and then fire an event when the sound is finished. The problem is that it doesn't wait for the clip to finish on either the Play Sound action or the Audio Play action. I would have thought that on the Audio Play action atleast, the state would wait for the sound to finish if you specify an event output.

Not sure if this is a bug or not but if it isn't, what should I do? (preferably without having to add a Wait action that matches the duration of the clip)


  • Administrator
  • Hero Member
  • *****
  • Posts: 15371
  • Official Playmaker Support
    • View Profile
Re: Wait for sound to finish?
« Reply #1 on: June 17, 2013, 03:35:38 AM »

 I am not sure there is another way ( apart from using a plugin like audio toolkit for example).

 basically, get the lenght of the clip you want to play, and use this as the waiting vlaue, it can be automated this way and stays flexible.

to do that, simply use "get property" on your audio clip and get the "length".