This forum is locked and will eventually go offline. If you have feedback to share you can find us in our Discord channel "MythoLogic Interactive" https://discord.gg/nECKnbT7gk
Forum rules
Forum rules
GetProfile().Name not affected by SetProfile()
Forum rules
By using the forum you agree to the following rules. For this forum you also need to follow these additional rules.
By using the forum you agree to the following rules. For this forum you also need to follow these additional rules.
- CrusherCouger
- Meatbag
- Posts: 4
- Joined: Sun Feb 05, 2017 1:20 pm
- SFD Account: Crusher Couger
- Started SFD: PreAlpha 1.1.0
GetProfile().Name not affected by SetProfile()
Hello, I encountered a problem while scripting. Given an IProfile variable, one can access its Name value, which contains the name of that profile, as one may expect. However, once IPlayer.SetProfile is called with the given profile as the argument so that a player use that profile, the name of the player’s profile will not get updated; that is, player.GetProfile().Name will not change and will reflect the name of another profile. This behaviour is rather confusing – one would rather expect that the profile will retain its name. Can you do something about it?
0 x
- Gurt
- Lead Programmer

- Posts: 1887
- Joined: Sun Feb 28, 2016 3:22 pm
- Title: Lead programmer
- Started SFD: Made it!
- Location: Sweden
- Gender:
- Age: 36
The 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
Gurt