So I've been thinking of what IProfile.Name does. "Profile ID" exists when opening profiles, so maybe it gets the Profile ID, but when I set the profile ID b y editing the profileinfo itself and try to get it using IProfile.Name, I get absolutely nothing.
Edit: It actually gets the Player name, not the Profile ID. So what's the point in having it if there's IPlayer.Name?
Dear forum users! In compliance with the new European GDPR regulations, we'd just like to inform you that if you have an account, your email address is stored in our database. We do not share your information with third parties, and your email address and password are encrypted for security reasons.
New to the forum? Say hello in this topic! Also make sure to read the rules.
New to the forum? Say hello in this topic! Also make sure to read the rules.
What does IProfile.Name do?
Forum rules
By using the forum you agree to the following rules.
By using the forum you agree to the following rules.
- JakSparro98
- Superfighter
- Posts: 530
- Joined: Fri Jul 15, 2016 7:56 pm
- Started SFD: PreAlpha 1.0.5
- Location: Rome, Italy
- Gender:
- Age: 26
IProfile.Name is binded to IPlayer.Name to allow a complete player respawn, you can keep, for instance, bots names, for future re-instancing.Ol1vver wrote: ↑Tue Aug 27, 2019 4:35 pmSo I've been thinking of what IProfile.Name does. "Profile ID" exists when opening profiles, so maybe it gets the Profile ID, but when I set the profile ID b y editing the profileinfo itself and try to get it using IProfile.Name, I get absolutely nothing.
Edit: It actually gets the Player name, not the Profile ID. So what's the point in having it if there's IPlayer.Name?
Profile ID was the result of a leftover feature for bot names, as Gurt said some time ago:
Gurt wrote: ↑Sat May 12, 2018 5:14 pmThe profile name is not used to anything as we decided that you must not be able to change the name of a real player. It's more of a left over right now as we remade how you name bots. In the release version of the game you will be able to change the name of a bot through the ScriptAPI as well.
1 x