01-16-2018, 01:24 PM
Hey guys, hope you are all keeping well.
I have been trying to find a way to read (not write) a file from a mission outside of the mission folder.
I have seen in Arma2 you could use a global script folder and when performing and execVM call, it will check your mission route, then the arma2/scripts folder.
Just wanted to know if there was any way of doing something like this in Arma 3?
Doesnt have to be a script, Im trying to allow players to upload a config file, my mission will read this file and set the load out and some mission objects based on this config file. (calling a script file or a cfg or txt will all be able to work, just need to know if it is possible to access a file outside of the mission).
or, if not, any other work around options?
I currently just let them copy and paste the details into a large multi line textbox and save it once in the profileNamespace (but the content has the chance of being quite large and I dont want to keep appending to the profileNamespace)
Thank you
Treendy
I have been trying to find a way to read (not write) a file from a mission outside of the mission folder.
I have seen in Arma2 you could use a global script folder and when performing and execVM call, it will check your mission route, then the arma2/scripts folder.
Just wanted to know if there was any way of doing something like this in Arma 3?
Doesnt have to be a script, Im trying to allow players to upload a config file, my mission will read this file and set the load out and some mission objects based on this config file. (calling a script file or a cfg or txt will all be able to work, just need to know if it is possible to access a file outside of the mission).
or, if not, any other work around options?
I currently just let them copy and paste the details into a large multi line textbox and save it once in the profileNamespace (but the content has the chance of being quite large and I dont want to keep appending to the profileNamespace)
Thank you
Treendy