Download

UMG and blueprint communication?

Hello

How do I run a blueprint script using UMG?

I got a Capture the flag game mode and want to make a team selection screen when joining the server.

Now I’m using trigger boxes to join the teams. So when they join/host a game it opens a new map with triggerboxes that set the team and colors when overlapping it respawns the player on to the actual map.

Screenshot of the triggerbox blueprint:

bp_jointeam_red.jpg

But I’m unsure how I communicate with the blueprint so I can get to work without tiggerboxes and use a UMG button.

I’ve been reading about Event dispatchers, but my attempts to do this have failed:

fcbe241e5c044dff8952206d77c1f26154464dbb.jpeg

I’m really confused about how to do this…