Jump to content
Sign in to follow this  
dreadedentity

Is it possible get a list of all files in a directory?

Recommended Posts

For my new script, I'm trying to create a system where users can add their own files and the mission will work without any editing to the scripts. Is that possible or will I need to make an addon?

If the only way to do this is by creating an addon are there any reference materials to get me started? (Keep in mind I'm kind of a beginner)

Share this post


Link to post
Share on other sites
For my new script, I'm trying to create a system where users can add their own files and the mission will work without any editing to the scripts. Is that possible or will I need to make an addon?

If the only way to do this is by creating an addon are there any reference materials to get me started? (Keep in mind I'm kind of a beginner)

I'd say use a extension. Not really hard to make one that only returns files in the directory.

PM if you want help :)

Share this post


Link to post
Share on other sites
For my new script, I'm trying to create a system where users can add their own files and the mission will work without any editing to the scripts. Is that possible or will I need to make an addon?

If the only way to do this is by creating an addon are there any reference materials to get me started? (Keep in mind I'm kind of a beginner)

Anything that has to do with the computer itself is way outside the range of SQF scripting. Like the guy above you'll need an extension for that (which I would assume is like real programming since it has access to everything the engine has access to to my knowledge).

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×