playMaker

Author Topic: play audio from audiosource [SOLVED]  (Read 2188 times)

Ofonna

  • Full Member
  • ***
  • Posts: 230
play audio from audiosource [SOLVED]
« 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
« Last Edit: September 28, 2017, 02:45:42 AM by djaydino »

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7615
    • jinxtergames
Re: play audio from audiosource
« Reply #1 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?

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7615
    • jinxtergames
Re: play audio from audiosource
« Reply #2 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.
« Last Edit: November 05, 2017, 04:08:38 PM by djaydino »

Ofonna

  • Full Member
  • ***
  • Posts: 230
Re: play audio from audiosource
« Reply #3 on: September 26, 2017, 10:00:32 AM »
thank you djaygingo, i meant playing an audio from a specific audio source componnent

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7615
    • jinxtergames
Re: play audio from audiosource
« Reply #4 on: September 26, 2017, 11:15:08 AM »
Hi,
Let me know if you need this for some other audio actions :)

twerkface

  • Playmaker Newbie
  • *
  • Posts: 8
Re: play audio from audiosource [SOLVED]
« Reply #5 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?

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7615
    • jinxtergames
Re: play audio from audiosource [SOLVED]
« Reply #6 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  :-[

twerkface

  • Playmaker Newbie
  • *
  • Posts: 8
Re: play audio from audiosource [SOLVED]
« Reply #7 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?