I see in a lot of maps people get player names for leaderboards. What is the way they are doing this?
Hi! what you need is something like this:
using { /Verse.org/Simulation }
GetAgentName<localizes>(Agent:agent):message="{Agent}"
The Agent would be the player. If they have streamer mode on. It returns something like Anonymous[256]. If you need to concatenate the names for Leaderboards you would need to join messages. If you transform the message to a string with Localize(Message) the name will be lost.
1 Like
Ok so how do you actually use the agent name, I cant seem to print it or anything without getting a NoToString error.
Can only be used on places that accept messages