of     1   

1billybob1
#140035796Friday, July 11, 2014 11:40 PM GMT

I've tried messing around with my datastore script I made from scratch, but can't find out how I would convert gear into a string to save. I don't need how I'd save it or load it, I know that, I would just like to know how I would convert it to a string (Not using the Instance String Value, if possible.) I've tried looking on the wiki, but didn't help me. Thank you if you can help.
1billybob1
#140036385Friday, July 11, 2014 11:47 PM GMT

If you'd need more info, lemme know.
IAmTheRolo
#140036771Friday, July 11, 2014 11:51 PM GMT

There is no direct way to do this. Your going to have to create your own custom function which will serve as a configuration.
1billybob1
#140037579Saturday, July 12, 2014 12:00 AM GMT

So how would I start it? Not asking a full script, just no idea how I'd start.
FreeScriptMaker
#140037761Saturday, July 12, 2014 12:02 AM GMT

What are you trying to do there is most likely a must easier and more efficient way to do this.
1billybob1
#140038076Saturday, July 12, 2014 12:06 AM GMT

@Free Saving Gear via datastores. The wiki said there is no way to directly save an instance through datastores, so if you want to save an instance, you'd have to convert it to a string or integer, when saving, then convert it back when loading.
1billybob1
#140038738Saturday, July 12, 2014 12:14 AM GMT

Or should I just use Data Persistence? Hopefully it won't come down to that though.
blockoo
#140039374Saturday, July 12, 2014 12:21 AM GMT

I suggest saving the gear's AssetId as a string. That way you can use InsertService to load said AssetId. The problem is that you'd have to make a database of all gear and their AssetIds since I don't believe you can get the gear's AssetId from the in-game object.

    of     1