Okay, so a short question…
I’ve asked around; people never really knew why.
Why can you not set a character’s name? (for example, you’re spawned as something and want to change the name.)
I understand that it could cause issues, but if I really wanted to change the name, I’d have to change it with code where it’s cloned or of similarity.
In my opinion, the prior task can be… tedious per say and makes me wonder why you can’t change the name of a character (even on the server side) which is already parented.
Example of what I did to get the final result of a name:
if Settings.CreatureName:find("Adult") then
finalCreatureName = string.gsub(Settings.CreatureName, "Adult ", "")
elseif Settings.CreatureName:find("Juvenile") then
finalCreatureName = string.gsub(Settings.CreatureName, "Juvenile ", "")
elseif Settings.CreatureName:find("Baby") then
finalCreatureName = string.gsub(Settings.CreatureName, "Baby ", "")
end
They are the player, you play as them.
I have a “growth” system set up; i use integers as keys for the 3 stages: baby, juvenile, adult.
if your value is [1-3], it’ll key in the base character then the age and set the character to be said model.
If you need further information, please ask.
Try setting the name before morphing the player, I think they disabled changing character names because of exploiters creating crude display names, there is a few ways around it though, but probably not what you want.
That was what I had mentioned in the base post, I was asking why you have to set the model’s name before morphing. Not a question that’s required to be used, but just a sense of ease.
For example, I want to change the model’s name AFTER being spawned, but I don’t want to respawn. That’s where the error comes into play, rendering it so I’m forced to respawn the player.
I use billboard UIs for my display names, maybe you could try something like that.
this will also allow you to change display name color and add overhead ICONS etc.