playMaker

Author Topic: Play Random Sound  (Read 3760 times)

Graham

  • Sr. Member
  • ****
  • Posts: 327
  • I Love Playmaker!
    • Portfolio
Play Random Sound
« on: July 09, 2014, 01:27:39 PM »
Can someone please alter the "Play Random Sound" action to allow drop down selection of an audio clip variable, same functionality as the "Play Sound" action?

Thanks soooo much for the help.
« Last Edit: July 09, 2014, 01:29:18 PM by Graham »
More templates on the Unity Asset Store!

Disclosure: We are using affiliate links to our assets; we may receive a commission for purchases made through them. This helps us to continue developing and maintaining great products!

Marsh

  • Full Member
  • ***
  • Posts: 227
  • Comfort the disturbed, disturb the comfortable
Re: Play Random Sound
« Reply #1 on: July 14, 2014, 10:22:35 AM »
« Last Edit: July 14, 2014, 11:25:09 AM by Marsh »

Graham

  • Sr. Member
  • ****
  • Posts: 327
  • I Love Playmaker!
    • Portfolio
Re: Play Random Sound
« Reply #2 on: July 14, 2014, 11:38:38 AM »
Thanks Marsh! Exactly what I needed.
More templates on the Unity Asset Store!

Disclosure: We are using affiliate links to our assets; we may receive a commission for purchases made through them. This helps us to continue developing and maintaining great products!

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15496
  • Official Playmaker Support
Re: Play Random Sound
« Reply #3 on: July 16, 2014, 09:27:54 AM »
Hi Marsh.

 Is it a custom action you wrote?

 Maybe I can put it on the ecosystem if you want?

Bye,

 Jean

Marsh

  • Full Member
  • ***
  • Posts: 227
  • Comfort the disturbed, disturb the comfortable
Re: Play Random Sound
« Reply #4 on: July 17, 2014, 07:29:59 AM »
It is just taking the existing action and modifying it slightly. You can if you wish.

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15496
  • Official Playmaker Support
Re: Play Random Sound
« Reply #5 on: July 18, 2014, 07:55:15 AM »
Hi,

 Ok, it's on the ecosystem, but I renamed it PlayRandomSound2 to not conflict with the official one.

 Thanks for that :)

 Bye,

 Jean

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 6484
    • jinxtergames
Re: Play Random Sound
« Reply #6 on: December 22, 2014, 04:03:45 AM »
added a repeat / no repeat setting on it
Ecosystem might not work at the moment
here are direct Github Links to the custom actions :
https://github.com/PlayMakerEcosystem
https://github.com/jeanfabre


Join the PlayMaker Discord Channel!

PolyMad

  • Hero Member
  • *****
  • Posts: 502
Re: Play Random Sound
« Reply #7 on: October 19, 2021, 05:49:00 AM »
I put it here: it would be nice if this action would allow to play the sound on the Owner object, so that music could be played and brought around with the player.
At the moment, one has to work with a normal array. Not a big issue uh, did that in 2 minutes, but it would facilitate.