Sounds not always playing when called

Started by Valisauce on

Topic category: Troubleshooting, bugs, and solutions

Joined Jan 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Sounds not always playing when called

I have a custom player tick procedure set up so that music plays, then sets a global timer to the length of the song in ticks and counts down until it reaches 0 and loops back. The problem is that when it reaches 0 and loops back it doesn't always play the music, even though it's being called at the same time (the loop still works and so I have to wait until it ticks down again to get a chance for music to play). I do have two different tracks that can play randomly, and each has its own length in ticks set when it is called, so the timing is not wrong. I want it to be a constant loop, does anyone have any idea what's wrong?

Joined Jan 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Hmm. It seems like it only…
Mon, 03/23/2020 - 06:00

Hmm. It seems like it only has trouble when the world was recently opened. After letting it run for some time it seems to straighten out and play consistently. I'm still not quite sure if there's a way to make it better.