@Faguss:
When i test the mission in the editor the folder is:
When the mission is saved to multiplayer or (my guess is) saved on a dedicated server:
Take a look again on the code I've wrote. In the <brackets> put custom text. Sorry, I can't make it simpler.
Try using an #include for a nonexistent file and see if it crashes OFP
Of course it will crash as you're trying to work with something that does not exist.
pray like hell no one renames your mission pbo.
Doesn't matter as long as the island extension stays the same.
For an addon don't you have to start the path with the slash?
No. Why the idea? Never tested?
But this is not a real option, it has to work with a relative path beginning from the mission folder
There is no such method and there won't be. Get it over with.
manipulate the __FILE__ command
OFP does not support such macros. They are less of a command and more of a constant variable.
using ..\
Why would you want to leave the game folder?