Quantcast
Channel: Tech Support
Viewing all articles
Browse latest Browse all 1679

Working Directory changed to GMS2TEMP and can't use file_find functions

$
0
0
i'm having trouble with this code (i want to find all the folders in my normal project folder, but working directory has changed now, now i don't know how to find my normal files folder in the code)

GML:
var files = [];
var path = working_directory;
var file_name = file_find_first(path, fa_readonly);

while (file_name != "") {
    array_push(files, file_name);
    file_name = file_find_next();
}

file_find_close();
Normaly, working directory would take to my project folder in...

Working Directory changed to GMS2TEMP and can't use file_find functions

Viewing all articles
Browse latest Browse all 1679

Trending Articles