Get list of files from a directory/folder

Game Editor comments and discussion.

Get list of files from a directory/folder

Postby fauldran » Thu Mar 29, 2007 8:12 am

Is it possible to pull a list of files from a directory within a game made with GE?

I have a project that saves level files and I would like to be able to search a directory for all the level files and then let the user pick them from a list inside the compiled game.

Your standard File->Open type menu.

The only way I can figure it right now is to track the files as they are saved and store references to them within GE.

Anyone know about this?

Thanks.
Fauldran
Image
fauldran
 
Posts: 43
Joined: Tue Dec 20, 2005 10:52 am
Score: 0 Give a positive score

Postby makslane » Thu Mar 29, 2007 12:25 pm

I think the only way is track the saves.
makslane
Site Admin
 
Posts: 3947
Joined: Sat Apr 05, 2003 6:47 pm
Score: 182 Give a positive score


Return to GE - General

Who is online

Users browsing this forum: No registered users and 1 guest

cron