playMaker

Author Topic: 'Plays Sound' Action Option  (Read 4106 times)

jongkook

  • Playmaker Newbie
  • *
  • Posts: 34
'Plays Sound' Action Option
« on: October 17, 2015, 06:08:26 AM »
'play sound' Action option requests
Making a 2d game with Unity 5.
2d sound settings are required
So 'spatial Blend' option is required
« Last Edit: October 18, 2015, 12:36:11 AM by jongkook »

Tubbritt

  • Playmaker Newbie
  • *
  • Posts: 8
Re: 'Plays Sound' Action Option
« Reply #1 on: November 04, 2015, 12:57:20 PM »
Yes please.

Since upgrading from 5.1.3p1 of Unity to 5.2.2p2 I've just run into this problem. My audio is now messed up and I don't know what to do.

A Spatial Blend slider is now badly needed for playmakers Play Sound action.

Regards
James

Lane

  • Administrator
  • Hero Member
  • *****
  • Posts: 2511
  • Mender of the past
    • Cleverous
Re: 'Plays Sound' Action Option
« Reply #2 on: November 05, 2015, 07:37:55 AM »
You can't. Its a limitation in Unity.

Previously the sound space was defined in the sound's Import Options. Since it is now tied to the Audio Source and PlayOneShot does not return an Audio Source to manipulate then its not possible at the moment. I'm not sure if they realized the ramifications of making that change.

I talked to Richard at Unity about this, not sure if its going to move forward any time soon. It seems like PlayOneShot is almost useless now so the solution is basically to just stop using it.

The better workflow is to add Audio Sources to anything playing a sound, then tell the Audio Source to Play as needed.
Products by Cleverous
|| Vault Core : Database
|| Vault Inventory : Multiplayer Inventory
|| Vault Attributes : Character Stats
|| That Hurt! : Dmg Floaties
|| Quinn : 3D

dudebxl

  • Hero Member
  • *****
  • Posts: 602
Re: 'Plays Sound' Action Option
« Reply #3 on: November 05, 2015, 06:39:38 PM »
here you go:

http://hutonggames.com/playmakerforum/index.php?topic=11596.msg54296#msg54296

min unity 5.2+
plays one-shot or/and edit Audio source

Tubbritt

  • Playmaker Newbie
  • *
  • Posts: 8
Re: 'Plays Sound' Action Option
« Reply #4 on: November 06, 2015, 01:16:50 PM »
Thanks Lane,

Thank you too dudebxl. I've just replied to your thread. This is looking good to me, but I don't seem to be able to get the volume slider to work.

Kind regards
James.

johnchris

  • Playmaker Newbie
  • *
  • Posts: 1
Re: 'Plays Sound' Action Option
« Reply #5 on: April 26, 2016, 02:23:59 AM »
You can't. Its a limitation in Unity.

Previously the sound space was defined in the sound's Import Options. Since it is now tied to the Audio Source and PlayOneShot does not return an Audio Source to manipulate then its not possible at the moment. I'm not sure if they realized the ramifications of making that change.

I talked to Richard at Unity about this, not sure if its going to move forward any time soon. It seems like PlayOneShot is almost useless now so the solution is basically to just stop using it.

The better workflow is to add Audio Sources to anything playing a sound, then tell the Audio Source to Play as needed.

Hi Lane link,

You are telling the true, I already encountered the same situation in the past.