I have a function that I added to the gamestate. It just prints a logging message for now.
I’m trying to call it from a widget blueprint, but I can’t get it to work.
My flow so far:
Default map is “MyConnectLevel” which shows a “ConnectWidgetBlueprint” this gets an IP address and connects the user to the server. This works great.
Then the map changes to “MyLoginLevel” which shows “LoginWidgetBlueprint” which has a couple string inputs, When the button is pressed my function should execute on the server only.