Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: Ofonna on September 25, 2017, 04:49:17 PM

Title: play audio from audiosource [SOLVED]
Post by: Ofonna on September 25, 2017, 04:49:17 PM
heyy guys, just curios to know if there's any available action to play audio from a specific audio source, this has been the only limitation since i started using playmaker
Title: Re: play audio from audiosource
Post by: djaydino on September 25, 2017, 10:16:44 PM
Hi,
Do you mean using multiple audio sources on a single gameobject?

and be able to select the source component?
Title: Re: play audio from audiosource
Post by: djaydino on September 25, 2017, 11:01:20 PM
Hi.
If so, try this action i made (in the attachment below)

Edit : Updated the action to be placed in its proper file/folder

if you have issues with audio play pls get the attachment on reply #6

Sorry for the inconvenience.
Title: Re: play audio from audiosource
Post by: Ofonna on September 26, 2017, 10:00:32 AM
thank you djaygingo, i meant playing an audio from a specific audio source componnent
Title: Re: play audio from audiosource
Post by: djaydino on September 26, 2017, 11:15:08 AM
Hi,
Let me know if you need this for some other audio actions :)
Title: Re: play audio from audiosource [SOLVED]
Post by: twerkface on November 05, 2017, 01:46:18 PM
Hi! I just downloaded and installed the script you attached, and now my Audio Play scripts have been replaced with "Missing Action" references. Is there a way to get the old Action back while keeping the new one?

I tried using the new one and am unclear how the "Audiosource" reference works. I see that it allows me to select an audio source from different objects in the scene, but I was hoping to use it to play multiple audio sources that are attached to a single object. Is this possible?
Title: Re: play audio from audiosource [SOLVED]
Post by: djaydino on November 05, 2017, 04:04:51 PM
Hi,
Oups i accidentally overwrote the original action.

You can get the attachment below to restore audio play and have the audio play source

I also updated the attachment on my other post with the proper filename.

Sorry for that  :-[
Title: Re: play audio from audiosource [SOLVED]
Post by: twerkface on November 05, 2017, 04:07:11 PM
That's okay. Thanks! I already started working with your custom action. To be clear, if I install this package, will it still work?

Also wondering if you have suggestions on my other question - I have multiple Audio Sources on some objects that I would like to play simultaneously. This script still seems to only allow selecting one source per object. Am I missing something?