Reads the contents of a Steam Cloud file.


GML Code Example


Argument Description
filename The name of the file to read from.

Returns: String


This function will read the contents of the given file into a string which can later be parsed in your game.


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