Not inserting jsons in the order of the code

0 votes

http://codeshare.io/ADeRT

 

So I the order of when I use the InsertJSONDocument doesn't seem to match up with the numbers on the loop so getting the object ID to match up with the correct json isn't working. How else can I do this? This script is basically just when you register it creates a json object and inserts it into the cloud then i want to be able to reference these objects easily but putting the object id of each json in playerprefs to make an easy reference to them but the order keeps screwing up. 

asked Mar 13, 2014 in App42 Cloud API-BaaS by JoeCrill (25 points)

1 Answer

0 votes
If you are inserting multiple JSON docs in same time, so you have to create different callback for each InsertJSONDocument.

http://codeshare.io/N3QKc
answered Mar 15, 2014 by sshukla480 (407 points)
Ahh alright is there any way to use multiple callbacks within 1 script?
try something like this.
http://codeshare.io/2FPo9
Download Widgets
Welcome to ShepHertz Product line forum, where you can ask questions and receive answers from the community. You can also reach out to us on support@shephertz.com
...