So, to better understand how the replication works to handle multiplayer, i tried to make a chessgame.
I created a Blueprint (Replicates checked) for the pieces that can be clicked by players using the event OnClicked.
I then tried to fire a custom event (Run on Server) and then another to Multicast to every clients to update the position of the piece. If the Player1 (which should be the server, or has Authority I suppose) is clicking the piece, the other Client Sees it, but not the other way around.
After further investigation, it seems like the OnClick is just not supported.
I used the ContentExamples that showcase how the RPC works. I used the Chest one that works perfectly and plugged the OnClick event. Same issue. The user that is the server will replicate to the client, but not the other way around.
So what, we can’t make games using mouse such as STR or am I totally missing something here?
I’m officially totally blocked and can’t proceed my project. Any help would be really appreciated.
Thanks