So I’m working on adding sounds to my game and need one specific sound to play any time I left click my mouse. It needs to play wether the game is paused or not, and in every one of my levels. Really not sure how to do this, yet it’s super important.
Do you happen to have any screenshots of how this should be set up? I tried all last night and all I accomplished was getting it to play sound when the game was un-paused, and if I clicked on a actor that already had some type of mouse input event enabled.
Hey, I just tried to create a similar system, I found out that you need to select the event node “Left Mouse Button”, and go to it’s details panel, you will find a checkbox for “Execute When Paused”
Great, that fixed the not playing on pause issue! One other thing I’m finding is it doesn’t play the sound when I click buttons from my widget BP’s. Do you know of anything that might solve that?
Thanks for the link! I will look into that a bit more later, but I just found another problem that this time, I really cant wrap my head around. So I have a different game mode for each level, and a different character BP for each game mode. I assigned the player controller BP to my other game modes, yet it doesn’t do anything when I enter those other levels.