Hi, I am working on a multiplayer game and am adding name tags to players. I created a widget containing an editableText, then placed that editable text on top of every player inside of the blueprint first person character components tab. The default text for the player is “logging in” and this works well:
When I get in game though, the names of players seem to only show the viewer’s name. The player name is a variable placed onto the first person character when they log in.
This happens because the widget can only find the viewer when it is looking for a username to pull. My real issue is figuring out how to let the widget find the character controller that is below it, instead of looking at it. I have tried multiple methods but so far I have not made much progress.
My current system or telling the widget the user below it: (Returns the viewer instead)
On the first person character:
On the widget for the nametag:
I have tried getting the player character from the widget, but again that returns the username of the viewer and not the owner of the widget. If I do get owner or any of the variations of that, I do not know how to get the first person character reference from that as all casts fail.