temp_directory

This function returns the temporary directory created for your game each time it is run.

This directory will hold files and can be accessed while the game is running, but it will be removed (along with all files that it contains) when the game is closed.

NOTE The temp_directory variable stores the path including the final slash.

 

Syntax:

temp_directory

 

Returns:

String

 

Example:

ini_open(temp_directory + "\temp_ini.ini");

This will open an INI file in the temporary directory of the game (creating it if it does not already exist).