steam_file_delete

Remove a file from the Steam Cloud.

Syntax:

GML Code Example

steam_file_delete(filename);


Argument Description
filename The name of the file delete.


Returns: Real


Description

This function will delete the given file from the Steam Cloud. The function will return a value of 0 if it fails for whatever reason and a value greater than 0 if it succeeds.


Example:

GML Code Example

if steam_file_exists("Save.txt")
    {
    steam_file_delete("Save.txt");
    }
 

The above code will check to see if a file exists, and if it does, it deletes the file from the Steam Cloud.





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