|
file_text_open_read(fname) |
|
fname = the name of the file you want to open including the directory.
This will open a file so you can read from it into Game Maker. It returns the id of the file you opened so whenever you try to read from it, you use this id. You have to include the directory of the file you want to open but you can use the variables working_directory for the folder where the game is being run from or temp_directory for the temp folder (if you included files and extracted them to there).
Example
Ari - Revision #'1 |