steam_file_delete

Remove a file from the Steam Cloud.

Syntax:

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:

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.


Back: Steam API
Next: steam_is_screenshot_requested
© Copyright YoYo Games Ltd. 2018 All Rights Reserved