generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: Persistent data?

Previous Thread :: Next Thread 
CWRA0444 is not online. 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 is not online. CWRA0444
Joined: 14 Jan 2010
Total Posts: 6013
20 Feb 2016 01:02 PM
b

...thats why yellow makes me sad
Report Abuse
RecurringNightmare is not online. RecurringNightmare
Joined: 05 Jul 2012
Total Posts: 15336
20 Feb 2016 01:12 PM
Read the page on Data STORES, not Data Persistence. Assuming you meant DP.
Report Abuse
CWRA0444 is not online. CWRA0444
Joined: 14 Jan 2010
Total Posts: 6013
20 Feb 2016 01:14 PM
Yes. Thanks!

...thats why yellow makes me sad
Report Abuse
RecurringNightmare is not online. RecurringNightmare
Joined: 05 Jul 2012
Total Posts: 15336
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 is not online. 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
RecurringNightmare is not online. RecurringNightmare
Joined: 05 Jul 2012
Total Posts: 15336
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 is not online. 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
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image