(Game: Multiplayer RPG Shooter)
I’m trying to make an interaction menu that appears when one player walks up to another player, holds F and they can see information about them as well as clickable options.
The problem I’m having is getting the information from the individual player to the UI. For example If I want to see the health of a specific player I should go up to them, hold F and see their health. However most solutions I’ve come up don’t seem to work. The best I’ve managed to get is the player I’m interacting with displaying the default health and not either actual health (which I’ve edited in editor)
I’ve watched a few tutorials but they’re all for single player so their methods don’t quite work.
If you need more info then let me know. I didn’t want to essay dump this post.