Hello. I am learning the Multiplayer Framework. I use Listen-Server.
My problem: I want to greet the according Client with his name when he connects to the game. I am doing this within the GameMode BP in a OnPostLogin Event.
I have tried lot’s of approaches. Right now, I am using a Run-On-Client (ROC) Event “ROC_GreetPlayer” which I made in “BP_PlayerController” to greet the owning Client. Does not work, so I removed the ROC-attribute from the Event. I even checked with “Is Local Player Controller”. Does not work either :-/
Right now, when a player joins, the greeting message is displayed on both clients. For example, when player-0 joins, both clients print “Hello: Player-0”. But I want that only Player-0 prints the welcome message.
What am I doing wrong?