BP_SteamUserName
Last updated
Last updated
Support us as a GitHub Sponsor and get instant access to all our assets, exclusive tools and assets, escalated support and issue tracking and our gratitude. These articles are made possible by our GitHub Sponsors ... become a sponsor today!
An extension of the standard UTextBlock widget with three new functions to help display a Steam name or nickname for the local player or a specified user.
This works with the Get Persona Name method to handle loading a target user's name for you and assigning it to the display.
This works with the Get Friend Persona Name method to handle loading a target user's name for you and assigning it to the display.
This works with the Get Player Nickname method to handle loading a target user's name for you and assigning it to the display.
A Nickname is a name that the local user has assigned to another user.
In short Name = what the user calls themselves whereas Nickname = what the local user calls this user.
A real-world example would be if you were friends with a brother named Jack. Jack may set his Steam name to 4pple54ouce ... but you can of course set the Nickname to Jack. For you in your friends list you see Jack ... everyone else (who hasn't set a nickname for him) will see 4pple54ouce.
Given this, there is no such thing as a Nickname for the local user. The local user calls themselves what they have assigned to Name.
The process assumes you have added a BP_SteamUserName to your UI. We then get the Steam Name from your UI and use that as the target input for the Show My Name function call.
To set the name for another user the process is the same with the addition of needing to get the desired user's ID. There are many places where you might get a user's ID and want to display their avatar such as the members of a lobby you are in, your friend list, the users on a server, the entries in a leaderboard or even the other player's on a Steam Game Server.