Find out if the given file exists on the Steam Cloud.


GML Code Example


Argument Description
filename The name of the file to check for.

Returns: Boolean


With this function you can check to see if a file from the Steam Cloud exists or not, with a return value of true if it exists, or false otherwise.


GML Code Example

if steam_file_exists("Save.txt")
    save_str = steam_file_read("Save.txt");

The above code checks to see if a file exists on the Steam Cloud and if it does, it opens it and reads its contents into the variable "save_str".

No Examples Submitted

Does this page need better examples? Be the first to Submit

No Edits Suggested

Is this page unclear or not descriptive enough? Suggest an edit to the page and with enough upvotes your changes will be made.

No Questions Have Been Ask

Do you have a question about this page? Ask it Here