Hi Joel,
Thanks for the reference, but I couldn't find the specific details I'm looking. To clarify, I need guidance on retrieving the value associated with the key 'Name' from a file stored on the Cloud Server with the filename 'lord.es3'. Could you provide more targeted assistance or direct me to the relevant documentation?
Appreciate your help.
Load saved File from folder in webGL?
Re: Load saved File from folder in webGL?
Hi there,
You would use ES3Cloud's DownloadFile or Sync method as described in the ES3Cloud guide:
https://docs.moodkie.com/easy-save-3/es ... -es3cloud/
You would then use the filePath parameter to load from that file. I.e.
All the best,
Joel
You would use ES3Cloud's DownloadFile or Sync method as described in the ES3Cloud guide:
https://docs.moodkie.com/easy-save-3/es ... -es3cloud/
You would then use the filePath parameter to load from that file. I.e.
Code: Select all
var data = ES3.Load<Type>("key", "filename.es3");
Joel
-
- Posts: 11
- Joined: Thu Nov 30, 2023 3:20 pm
Re: Load saved File from folder in webGL?
Hi Joel,
I appreciate your guidance. I followed the steps outlined in the ES3Cloud guide and used the filePath parameter as suggested. However, when I attempt to check if the key exists with "if (ES3.KeyExists(key, 'lord.es3'))", it returns false, even though 'lord.es3' is stored on the cloud. Could you provide insights on what might be causing this issue?
Thank you for your patience.
I appreciate your guidance. I followed the steps outlined in the ES3Cloud guide and used the filePath parameter as suggested. However, when I attempt to check if the key exists with "if (ES3.KeyExists(key, 'lord.es3'))", it returns false, even though 'lord.es3' is stored on the cloud. Could you provide insights on what might be causing this issue?
Thank you for your patience.
- Attachments
-
- Screenshot 2024-01-15 164635.png (9.09 KiB) Viewed 1271 times
Re: Load saved File from folder in webGL?
Hi there,
If you're trying to check whether data exists in the cloud you should use ES3Cloud.SearchFilenames:
https://docs.moodkie.com/easy-save-3/es ... oud-class/
ES3.FileExists is for checking whether a file exists locally.
All the best,
Joel
If you're trying to check whether data exists in the cloud you should use ES3Cloud.SearchFilenames:
https://docs.moodkie.com/easy-save-3/es ... oud-class/
ES3.FileExists is for checking whether a file exists locally.
All the best,
Joel
-
- Posts: 11
- Joined: Thu Nov 30, 2023 3:20 pm
Re: Load saved File from folder in webGL?
Hi Joel,
Big thanks for the help! I was searching way too far.
Best regards,
William
Big thanks for the help! I was searching way too far.
Best regards,
William