I have a widget switcher that inside has a collectibles menu. Inside that I have an audio log list and when selecting a child of that menu I can play the audio log. I currently have an event bound to stop the audio from playing but the only way I can do this is if I assign the function to every single button click that controls the widget switcher. Is there a way to dynamically kill the audio, say whenever I click any button, seems like a massive pain having to assign it to every button click event
If this vertical box had 100 buttons, pressing any of them would trigger the custom event. Not sure I can visualise the switcher setup, perhaps you could add the buttons to an array manually, and to the above. as in:
I have something similar already on of my widgets but the problem is that this can only be triggered if I add it to the end of each OnButton Clicked Event
Its not soo bad now but I can see it being a pain in the ■■■ to set if I decide to change the menu flow, however if this is the only way then that’s fine too.
Sorry, what do you mean by register? I have other dispatchers in other graphs to forward each button as plenty of widgets are nested
This is where I start the button clicks for the collectible sub menus to ShowCollectibles per collectible page. Sorry there are a lot of graphs here, would be too much to share.
I think exist very simple way to do. In UE must be event ‘onbuttonclicked’(global, not in certain widget). Connect it to “setgamepaused”. That’s all. when you need, switch pause off.
Now engine not loaded, I can’t say exactly names nodes. I think they must be