Twix 1 Posted April 29, 2013 According to the ARMA wiki for macros, you can use #include "..\filename.sqf" to go back a folder level. However, I just can't get that to work. The game crashes and gives me " \foldername\..\filename.sqf not found as if it's not understanding the ..\ whatsoever Was it removed for arma 3? Any way around that but to copy the same include files all over the place? Share this post Link to post Share on other sites
Sc0rc3d 1 Posted April 29, 2013 I Think the problem is the "root" Folder where your mission.sqm is the End of the line. What you really wannt to do? Share this post Link to post Share on other sites
Twix 1 Posted April 29, 2013 Well, I have a define.sqf for example in the mission folder with just #define __DEBUG__ and I want to include that in all my scripts Works great for the couple scripts in the root mission folder, but for my \scripts\ files, it just can't find it. Share this post Link to post Share on other sites
Alo Keen 7 Posted April 29, 2013 try scripts\ instead of \scripts\ Share this post Link to post Share on other sites
Twix 1 Posted April 29, 2013 what? no, it's the other way around that I have problems, the include is in my root mission folder and I want to include it from my script\ folder. :) Share this post Link to post Share on other sites
neokika 62 Posted April 29, 2013 Not possible to include files from parent folders. Only from same folder or it's children. Share this post Link to post Share on other sites
Twix 1 Posted April 30, 2013 Thanks, guess I'll have to copy everything everytime (and that explains the copy.bat files you can find in some projects!) The Bohemia wiki might need updating on that: here Share this post Link to post Share on other sites