Can Tier 1 Games Make Save Data System?

oh nvm ignore me it worked now

2 Likes

I was wondering how you got it to work


2 Likes

What is the default value of savedData in Global Variables?

2 Likes

Yea that what I realized

2 Likes

Ok, do you have scripts that change players’ names (e.g. scripts that add name tags)?

2 Likes

Yea I have ranks and crown script

2 Likes

Ok, you should keep track of the player’s original name from before adding nametags were added, so you can use the original name for identifying the player’s saved data instead of using the player name function.

2 Likes

I’ve tried this

2 Likes

Do you set each player’s ‘Original Name’ variable when they join?

2 Likes

Yesni have set it to "set variable original name of triggering player as triggering players name

2 Likes

Can you show the script where you set the variable?

2 Likes

Ok

2 Likes

Is the ‘player joins’ script above the script that gives players nametags in the script list?

2 Likes

No I have a script called ranks it’s when you consume a item it changes your name.
Unit and player

2 Likes

Oh, I missed something. This is supposed to be get element at index 0 of dataItem, not get element at index 0 of savedData.

2 Likes

So do I keep original name of triggering player

2 Likes

Yes, you keep using original name.

2 Likes

this right

2 Likes


why savedData array is not with the -1?

2 Likes

Before that, you need to select calculate first.


Then, you can do that.

4 Likes