Problem FMP: Background Music Playing When Not it’s Suppose too

I was having a problem when the level was loaded. Multiple background music was playing when I was trying to use a randomizer with an integer in UE4. I found out the bug involved was a bug inside of UE4. The bug in question was an overflow bug; gives more outputs then requested.

Whenever I called this integer in a function, it sent two pulses into the function instead of 1. It isn’t normally noticed, because it happens so quickly.

I have not solved this problem yet, but I was going to make it into a sound track instead. The 2nd problem occurred here. The value of the integer keeps getting reset every-time the character spawned. This is because, when the character gets destroyed, the values get reset, but the controller does not.

Here is the tutorial I watched to understand this: Video link

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s