Best practice on creating a re-usable widget+event dispatchers

Hi, so I’m trying to create a widget prompt that appears once its called from an actor and gives you a multiple choice. Those two choices will exec 2 different custom events. I am using event dispatchers from the buttons in the widget to set those custom events. Everything works, except when i want to scale this into a function or a macro(I was trying to use function or macro libraries so I can create the interface from other actors), since in one I cannot have an output exec pin, and in the other one I cannot store local variables(im using local variables to store the widget reference, and text reference to the widget so the text for that specific Question and answers can appear properly. It also would need to bind and unbind itself from the event dispatcher in the widget(which also doesn’t look like the macro and functions support.
So what’s the best practice here? I definitely don’t think re-doing the whole thing by hand every time I need to do a prompt with 2 or 3 answers for a question is viable here.

looking forward to your guidance. Thank you

I was trying to use function or macro
libraries so I can create the
interface from other actors

Could you elaborate on this?

It is very possible to bind to a dispatcher within a function. Instead of binding directly to an event you bind to a “Create Event” node and select a Function or Event with that. Note that it will only list Functions and Events with the same Parameters (Signature) as the Event Dispatcher.

thank you for your reply, not entirely sure if i understand how to use the create event inside of the function.
But here’s what i was doing

the widget logic

the bp that works*(sorry its a mess, i was planning on making a clean function out of it)

the function i was writing until i got stuck

any help much appreciated! Thank you