playMaker

Author Topic: Sound FX slowmotion / fastforward  (Read 3370 times)

dudebxl

  • Hero Member
  • *****
  • Posts: 602
Sound FX slowmotion / fastforward
« on: December 16, 2015, 01:57:30 PM »
When we change the timescale of the game this will create the slowmotion or fastfoward sound fx for an audio source.

on ecosystem or https://snipt.net/dudebxl/

for rewind see: http://hutonggames.com/playmakerforum/index.php?topic=11863.0
« Last Edit: December 16, 2015, 02:50:08 PM by dudebxl »

Aaddiction

  • Full Member
  • ***
  • Posts: 166
Re: Sound FX slowmotion / fastforward
« Reply #1 on: January 01, 2016, 06:21:47 AM »
Hello,

Thanks for the action. I'm getting this error however:
Code: [Select]
Assets/PlayMaker Custom Actions/Audio/AudioPitchFromTimeScale.cs(12,44): error CS0246: The type or namespace name `ComponentAction`1' could not be found. Are you missing a using directive or an assembly reference?
Thanks for your help.

dudebxl

  • Hero Member
  • *****
  • Posts: 602
Re: Sound FX slowmotion / fastforward
« Reply #2 on: January 01, 2016, 10:12:08 AM »
Which version of playmaker are you using?
Do you have an audio source on your target gameobject?
Try changing in line 12 from 'ComponentAction<AudioSource>' to FsmStateAction

Let me know..

Aaddiction

  • Full Member
  • ***
  • Posts: 166
Re: Sound FX slowmotion / fastforward
« Reply #3 on: January 02, 2016, 04:34:05 AM »
Latest version with Unity 4.6.9.
It pops up right after importing from Ecosystem.
Changing in line 12 from 'ComponentAction<AudioSource>' to FsmStateAction fixed it. Thank you.

krane

  • Junior Playmaker
  • **
  • Posts: 63
Re: Sound FX slowmotion / fastforward
« Reply #4 on: February 13, 2017, 02:46:35 PM »
I can't find this in ecosystem... does this still exist?

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Sound FX slowmotion / fastforward
« Reply #5 on: February 14, 2017, 02:13:56 AM »
Hi,

 unfortunatly, the snipt website went down so now it's only actions hosted on Github that are visible. Please get in touch with DudeBxl, he may be in the process of moving everything to Github.

 Bye,

 Jean