Make an event disptacher in GameMode which activates on Confirm_Button from Widget

  • a Custom Event in the Game Mode BP, waiting to be called:

image

  • in the widget, the Confirm button will call an Event Dispatcher and trigger the Custom Event in the Game Mode:

The above is the gist.


spawn the actors with the variables introduced in widget.

To expand on this, you can add data pins to the Custom Event and the Dispatcher:

  • in the GM, the Custom Event has an additional pin:

  • in the widget:

This way you can send any data from the Widget to the Game Mode, and only once the button has been pressed.

1 Like