I’ve got a custom event (LoadDialogue) that was setup on an Actor BP, which works fine when triggered by the BeginPlay event.
The problem I have is that I have a widget with a button and an OnClicked event that should trigger that event, but it doesn’t. I put a Print Text node directly after the call to the custom event, and that fires correctly each time, but the event itself only ever triggers on the BeginPlay event (I’ve confirmed this by putting another Print Text node right at the start of the custom event, which only displays on the BeginPlay event and not when the button is clicked).
Here’s the Widget BP, that shows how it should call the event:
Any idea why this event isn’t being triggered? The fact there are no errors and it’s clearly getting right to the end of the node chain but still not firing is confusing.
It was a good idea, but unfortunately the Print Text node going from Cast Failed never fires. I’d guess that because the Print Text after the Load Dialogue event should be triggered actually fires, the cast worked.
I’ve just put a breakpoint on the Load Dialogue event call and it does stop on that point when I click the button on the widget as it should.