CWRA0444
|
  |
| Joined: 14 Jan 2010 |
| Total Posts: 6013 |
|
|
| 20 Feb 2016 12:58 PM |
I read the wiki page but got confused. I'm not too beginner to understand it but I'd like a helping hand. Any links or tips?
...thats why yellow makes me sad |
|
|
| Report Abuse |
|
|
CWRA0444
|
  |
| Joined: 14 Jan 2010 |
| Total Posts: 6013 |
|
|
| 20 Feb 2016 01:02 PM |
b
...thats why yellow makes me sad |
|
|
| Report Abuse |
|
|
|
| 20 Feb 2016 01:12 PM |
| Read the page on Data STORES, not Data Persistence. Assuming you meant DP. |
|
|
| Report Abuse |
|
|
CWRA0444
|
  |
| Joined: 14 Jan 2010 |
| Total Posts: 6013 |
|
|
| 20 Feb 2016 01:14 PM |
Yes. Thanks!
...thats why yellow makes me sad |
|
|
| Report Abuse |
|
|
|
| 20 Feb 2016 01:16 PM |
DataStores might be more confusing, but keep in mind:
GetAsync() is for checking if there's saved data. If not, SetAsync() to the default amount of whatever value you're trying to save.
SetAsync() is for setting the value of something you're trying to save and saving it.
Instances can't be saved but values can. such as StringValues, BoolValues, IntValue, NumberValues..and so on.
If you're going to look at OrderedDataStores, remember they can only save IntValues. They're used for things like global leaderboards. |
|
|
| Report Abuse |
|
|
CWRA0444
|
  |
| Joined: 14 Jan 2010 |
| Total Posts: 6013 |
|
|
| 20 Feb 2016 01:24 PM |
Thanks so much!
...thats why yellow makes me sad |
|
|
| Report Abuse |
|
|
|
| 20 Feb 2016 01:26 PM |
Values of those values* You can't save the objects themselves 'cause they're instances but you can save
StringValue.Value |
|
|
| Report Abuse |
|
|
WVPII
|
  |
| Joined: 19 Aug 2015 |
| Total Posts: 207 |
|
|
| 20 Feb 2016 02:02 PM |
| Y'see, DP has a very different definition to quite a lot of people. Be careful when using it |
|
|
| Report Abuse |
|
|