playMaker

Author Topic: [Solved]Decrease the sound  (Read 1514 times)

stigma

  • Full Member
  • ***
  • Posts: 218
[Solved]Decrease the sound
« on: October 09, 2023, 12:40:14 PM »
I try to gradually decrease the sound when I leave an area.
the decraese variable works fine in the Set Property action, only the music continues to play.
What is going on ?
THANKS
« Last Edit: October 11, 2023, 02:57:54 AM by stigma »

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7618
    • jinxtergames
Re: Decrease the sound
« Reply #1 on: October 10, 2023, 06:08:24 PM »
set property is not set to 'every frame'

but you should also use a dedicated action instead of a 'Set Property' especially if you would target mobile platforms (you will need to use Linker Wizard to make sure your build works correctly).

There should be a 'Set Audio Volume' action.



stigma

  • Full Member
  • ***
  • Posts: 218
Re: Decrease the sound
« Reply #2 on: October 11, 2023, 02:57:15 AM »
It works well, thanks for the advice.