I have a function that generates an unknown number of buttons at runtime, and I’m trying to initialize each button by binding it’s OnClicked event to the DisplayInformation function I want to run every time that button is clicked:
Obviously my function node isn’t compatible with the event node, so I tried creating a custom ButtonClicked event, running my function from there, and binding my ButtonClicked event to the actual OnClicked event. Creating Dispatcher Events | Unreal Engine Documentation makes it look like I can do this by selecting the “Add custom event for Dispatcher” option, but as my screenshot shows I don’t have that option available when I open the context menu.
So am I doing something obviously wrong? I really don’t understand the chain of event to dispatcher to function that I’m supposed to be following.