Good Morning! i have been trying to trigger combat music depending on if my player character is overlapping my enemies ‘combat zone’ ( a collision box used to initiate the music) but for some reason upon entering the combat zone, the music keeps restarting, been banging my head against the wal trying to figure this out lol. hopefully someone can help…this is my current audio setup ( courtesy of some lovely soul on these forums who helped me already :D)
I am changing the music depending on the time of day, as you can see from the pics…but then in the 3rd pic…im trying to get it so, if the player mesh overlaps the ‘combat zone’ of the enemy, to play the combat music…it works…but the combat music keeps restarting every second…per the timer by event…but that doesnt happen with the day and night music…ugh…any ideas? thank you SO much for your time and i hope your new years eve is awesome
i took it out, and now the daytime music keeps repeating no, it does work, but when i enter the ‘combat zone’ of my enemy, the combat music just keeps restarting and i cant figure out why
now its not working at all … lol fml…it was working day or night, as i attached the outputs initially of day and night, to the combat music, it just kept restarting the combat music. not it wont work at all for some reason. ( i put evereything back to how it was) im so sorry for all these questions man, i just really want to understand where im going wrong so i can learn ya know. i have tried using my mesh overlapping the combat zone collision of the enemy, doesnt work now, im so confused
Question…going by that…wudnt my played have to basicslly be on top of the enemy for the music to play? Apologies if i sound stupid haha,just trying to understand and awesome,cos woth the bpi method,i cud call it and change it anywhere as long as the bp has the interface implemented?
( notice it’s just the same as before except we swap the sound if the enemy bool is set )
The handler for the bool is very simple
And the whole point of this operation, is that you don’t need to loop going over all the enemy areas. The enemy zones tell the player to change the sound
You don’t even have to cast, because the interface isn’t implemented by anything else
Awesome…thank…you… dude …when i get home imma get this implemented,and just glancing at it i can kinda understand it,ill stud it proper when i get home. Hypothetically if i wanted to change the song for anything else,i.e entering a certain town,i wud be able to change the song without issue?
You would need collision volume over the town then.
This is implemented so that it plays different music in the ‘enemy’ volume. You could also do it so that it change music when you cross a volume ( and don’t have to stay in it ). But now that’s moving the goalposts…
So its not possible with this system? Lets say the player enters a town,and it has a trigger box, i cudnt somehow override the daytime music to play town music? Apologies,still very early in my bpi journey