|
| 10 Sep 2016 04:13 PM |
I haven't worked much with saving, and I'm wondering how I would save/load everything inside someone's PlayerGui. I'm assuming I would use DataStore, but what would be the best way to do this?
|
|
|
| Report Abuse |
|
|
Afro_Sub
|
  |
| Joined: 16 Jun 2013 |
| Total Posts: 1114 |
|
|
| 10 Sep 2016 04:25 PM |
Maybe you could use metatables and the main table would be the parent?
I use OOP a lot of datastore so y'know
|
|
|
| Report Abuse |
|
|
|
| 10 Sep 2016 04:25 PM |
why do you want to do that
just save what you need and go |
|
|
| Report Abuse |
|
|
|
| 10 Sep 2016 04:26 PM |
| Clone everything to ReplicatedStorage..the rest you should know. |
|
|
| Report Abuse |
|
|
Afro_Sub
|
  |
| Joined: 16 Jun 2013 |
| Total Posts: 1114 |
|
|
| 10 Sep 2016 04:27 PM |
| Blarg, because if you are ##### ## #### multiple objects/parents it would be very ########### to set the parent according to something else. |
|
|
| Report Abuse |
|
|
|
| 10 Sep 2016 04:27 PM |
| doesnt matter there is literally no reason to be saving entire guis rather than values |
|
|
| Report Abuse |
|
|
Afro_Sub
|
  |
| Joined: 16 Jun 2013 |
| Total Posts: 1114 |
|
|
| 10 Sep 2016 04:28 PM |
No he's talking about the object's data
So you would use OOP
|
|
|
| Report Abuse |
|
|
|
| 10 Sep 2016 04:28 PM |
| Or you could do what daily here, said. Up to you..his saves your game from having to load extra things.. |
|
|
| Report Abuse |
|
|
|
| 10 Sep 2016 04:29 PM |
1) it is not oop just because you use dictionaries, that has nothing to do with metatables 2) you can save positions of certain guis or whatever but literally what is wrong with saving the text of a textbox or something |
|
|
| Report Abuse |
|
|
Afro_Sub
|
  |
| Joined: 16 Jun 2013 |
| Total Posts: 1114 |
|
|
| 10 Sep 2016 04:31 PM |
No
I said use metatables so you can also store the parents
|
|
|
| Report Abuse |
|
|
|
| 10 Sep 2016 04:32 PM |
"use metatables"
do you even know what a metatable is you idiot, you cant even save those |
|
|
| Report Abuse |
|
|
Afro_Sub
|
  |
| Joined: 16 Jun 2013 |
| Total Posts: 1114 |
|
|
| 10 Sep 2016 04:39 PM |
oh wow I didn't know that
stupid roblox overpopulation and datatypes
lol let's just focus on the pretty much solved problem
|
|
|
| Report Abuse |
|
|
TimeTicks
|
  |
| Joined: 27 Apr 2011 |
| Total Posts: 27115 |
|
|
| 10 Sep 2016 04:59 PM |
- - https://forum.roblox.com/Forum/ShowPost.aspx?PostID=195621950
|
|
|
| Report Abuse |
|
|
Afro_Sub
|
  |
| Joined: 16 Jun 2013 |
| Total Posts: 1114 |
|
|
| 10 Sep 2016 05:04 PM |
OMG! Sorry I misread the question LOL.
Just use a iterate the children of the playergui
|
|
|
| Report Abuse |
|
|