-1

So, I am making a multiplayer game where I want it so that when a player1 who is playing the game sees the avatar of player 2 he can click on that avatar and a widget get’s created showing profile of the Player 2, also there is a button in that widget “Send Friend Request” which when clicked should execute the event on Player2 that creates a notification widget.

I looked up several solutions that were halfway, so some were just to get the click owner/ player who clicked and some were getting the clicked player. For example, Get Hit Result Under Cursor by Channel gives me the clicked actor but can’t get a player reference from it so that I can get data of that specific player2 and update stats on the player 1 widget.

I really appreciate any help

Context: Unreal Engine 5.1.1 Development Mode Blueprints

I tried finding on web but it is a little unclear on what is being replicated and how. I want a little context on how this logic can work and so need help.

Dev Patel
  • 11
  • 2
  • Hiya, people on StackOverflow will usually only respond if you post your code, post links to what you mean, format your question nicely and use proper English grammar and formatting. Checkout out https://stackoverflow.com/help/how-to-ask. – CoderApprentice Aug 03 '23 at 08:04

0 Answers0