It’s not really a huge bug per se, it’s just a minor inconvenience.
Sometimes the player in Play Solo is named “Player” and sometimes the player is called “Player1”. It is annoying when trying to reuse command bar code, only for it to error because the client is named differently
It’s seemingly randomly decided when you first open up studio, and then it never changes until you close studio again
[quote] It’s not really a huge bug per se, it’s just a minor inconvenience.
Sometimes the player in Play Solo is named “Player” and sometimes the player is called “Player1”. It is annoying when trying to reuse command bar code, only for it to error because the client is named differently
It’s seemingly randomly decided when you first open up studio, and then it never changes until you close studio again [/quote]
Well that’s interesting. That probably shouldn’t happen!
I have notice the distinction is this: if you open the place from local storage and play solo, it will be Player1. If you upload your place and keep it open, or start by clicking Edit on your place (i.e. any time you see the cloud icon in the tab for your place) and then play solo, it will name you Player.
I have notice the distinction is this: if you open the place from local storage and play solo, it will be Player1. If you upload your place and keep it open, or start by clicking Edit on your place (i.e. any time you see the cloud icon in the tab for your place) and then play solo, it will name you Player. [/quote]
That’s a nice find, and makes this a lot easier to track down, thanks!
If you do make a change, please make the name Player1. I (and I’m sure countless others) have scripts tuned to “Player1” and it would be extremely inconvenient to have to edit each and every one.
In the initial stages of your project you may want to throw together a quick hack to see if something works or try something out in the command bar, for which it is useful if the test players have consistent and predictable names (Player for Play Solo, and Player1, Player2, etc for Test Server) when you run Play Solo / Test Server (otherwise you have to change your hack code / command bar commands every time you run the game again). Naturally it has nothing to do with live games.
Yeah, what buildthomas pointed out is better. That’s a clean solution. With it, there’s no reason for the player to be named “Player1” – “Player” would be more appropriate since it’s unique and there can’t be more than one.