I have Login Controller which you can see on screenshot, that Login Controller handles Login logic, then I have UI Widget which handles UI and calls Login function in Login Controller (I want to have separated UI and logic), problem is that I don’t know how to create Custom Event for that callback function in Call function, I tried even Macro and it doesn’t work either.
Why I need to have it in function? Because I want to be able to return something into Widget UI, like success, error, so then I can display Error message for it.
ah interesting but I wanted that callback function inside Login function in Login Controller,
anyway, now Im trying to do it using Blueprint Interfaces,
I created BPI_Login like this:
Then I added that interface to Widget UI and added “listener” like this:
and Im trying to send message from Login Controller to all Blueprints which has that interface (because I dont have ref for that Widget UI in Login Controller) like this: