playMaker

Author Topic: Audio Play Simple and Audio Play Advanced  (Read 859 times)

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 2280
    • View Profile
    • jinxtergames
Audio Play Simple and Audio Play Advanced
« on: January 31, 2017, 09:57:14 AM »
Hi, i added 2 new action i made on the Ecosystem :

- Audio Play Simple
This is the same as the standard Audio Play except it has a check box "Wait For End Of Clip"
I think this option should be added on the original Action until then you can use this action.

- Audio Play Advanced
This has several option that you can use on the audio source,
like Stereo Pan, Pitch, priority, and some more

HeathClose

  • Full Member
  • ***
  • Posts: 223
    • View Profile
Re: Audio Play Simple and Audio Play Advanced
« Reply #1 on: January 31, 2017, 10:27:52 AM »
they don't show up for me when I search

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 2280
    • View Profile
    • jinxtergames
Re: Audio Play Simple and Audio Play Advanced
« Reply #2 on: January 31, 2017, 12:23:46 PM »
Hi.
Strange i just tested and they show up at my end.

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 2280
    • View Profile
    • jinxtergames
Re: Audio Play Simple and Audio Play Advanced
« Reply #3 on: February 02, 2017, 08:09:25 AM »
Hi,
I have added pitch control to "Audio Play Advanced"

clandestine

  • Full Member
  • ***
  • Posts: 230
    • View Profile
Re: Audio Play Simple and Audio Play Advanced
« Reply #4 on: July 10, 2017, 10:27:56 AM »
Hey djaydino, upon importing AudioPlayAdvanced from the Ecosystem to Unity 4.6.9 i get this:
Assets/PlayMaker Custom Actions/Audio/AudioPlayAdvanced.cs(10,6): error CS0246: The type or namespace name `ActionTargetAttribute' could not be found. Are you missing a using directive or an assembly reference?
What am i doing wrong?

Thanks man!

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 2280
    • View Profile
    • jinxtergames
Re: Audio Play Simple and Audio Play Advanced
« Reply #5 on: July 10, 2017, 06:49:15 PM »
Hi,
I think your playmaker verison might be to old.
What playmaker version are you using?

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 2280
    • View Profile
    • jinxtergames
Re: Audio Play Simple and Audio Play Advanced
« Reply #6 on: July 10, 2017, 10:02:16 PM »
Hi,
Btw to get things back to work you can remove the file :

PlayMaker Custom Actions/Audio/AudioPlayAdvanced.cs

clandestine

  • Full Member
  • ***
  • Posts: 230
    • View Profile
Re: Audio Play Simple and Audio Play Advanced
« Reply #7 on: July 11, 2017, 03:41:53 AM »
Quote from: djaydino
What playmaker version are you using?
1.7.8.3
Quote from: djaydino
to get things back to work you can remove the file
Yeah i know, i just wanted to use the action.

Thanks!

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 2280
    • View Profile
    • jinxtergames
Re: Audio Play Simple and Audio Play Advanced
« Reply #8 on: July 11, 2017, 07:35:46 AM »
Hi.
This still might work if you put a // on the beginning of line 10,11,16 and 20
(edit the script)
and have things Correct on your object.

But i have  suggest to update your project (unity and playmaker)

Before you do make sure to make a backup of your project!!!

clandestine

  • Full Member
  • ***
  • Posts: 230
    • View Profile
Re: Audio Play Simple and Audio Play Advanced
« Reply #9 on: July 11, 2017, 08:31:54 AM »
I'll try the fix... i'm still with U4.6.9 because i'm updating the project thats selling on steam for more than a year already. I have broken it a million times, i've even broken the steam builds so many times, so i'm staying with the setup because it works :D I'll backup and update PlayMaker though... and keep my fingers crossed.

Thanks man!

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 2280
    • View Profile
    • jinxtergames
Re: Audio Play Simple and Audio Play Advanced
« Reply #10 on: July 11, 2017, 07:47:52 PM »
Hi,
Let me know how it went :)

What Playmaker version are you now?

clandestine

  • Full Member
  • ***
  • Posts: 230
    • View Profile
Re: Audio Play Simple and Audio Play Advanced
« Reply #11 on: July 13, 2017, 06:13:08 AM »
Hey djaydino,
everything went well... commenting worked and updating worked even better.
At first when i updated everything was broken again, nothing worked, after walking the streets for 20 minutes and calming down i found that timescale was set to 0 for some reason, then everything was fixed :D

Thanks man! BTW: the latest PM is amazing (obviously i have been developing under a rock for quite a long time) the connections go behind the states, i made some cool custom colors and when dragging a component now you not only have get and set property, but also actions compatible with the component all in unity 4.6.9... amazing!! But you already knew that :D

Thanks again!

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 2280
    • View Profile
    • jinxtergames
Re: Audio Play Simple and Audio Play Advanced
« Reply #12 on: July 13, 2017, 06:59:18 AM »
Hi,
Indeed a lot has been changed and updated.

Just be careful not using to much Get/set properties if there are actions for it, it is better to use those.

If you use Get/set properties then you should get linker wizard to prevent issues :