playMaker

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

Carmichael

  • Full Member
  • ***
  • Posts: 222
    • View Profile
play audio from audiosource [SOLVED]
« on: September 25, 2017, 01: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 27, 2017, 11:45:42 PM by djaydino »

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 2260
    • View Profile
    • jinxtergames
Re: play audio from audiosource
« Reply #1 on: September 25, 2017, 07: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: 2260
    • View Profile
    • jinxtergames
Re: play audio from audiosource
« Reply #2 on: September 25, 2017, 08: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, 02:08:38 PM by djaydino »

Carmichael

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

djaydino

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

twerkface

  • Playmaker Newbie
  • *
  • Posts: 3
    • View Profile
Re: play audio from audiosource [SOLVED]
« Reply #5 on: November 05, 2017, 11:46:18 AM »
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: 2260
    • View Profile
    • jinxtergames
Re: play audio from audiosource [SOLVED]
« Reply #6 on: November 05, 2017, 02: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: 3
    • View Profile
Re: play audio from audiosource [SOLVED]
« Reply #7 on: November 05, 2017, 02: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?