Open todirbg opened 2 years ago
@todirbg On XP12 there's the sim/aircraft/view/acf_relative_path
you can use for this.
This is great news :) I still think it will be better if we could have direct access to that in xlua as a function or as a global variable like SIM_PERIOD is.
Better in which way? What would be the advantage?
For one it will be backward compatible with xp11. I just think it is a cleaner solution.
Hello, great to see xLua is updated! Can we have a function to get the path to the current acf like in this fork https://github.com/aeroc7/XLua ? This is extremely useful for read/write config files from the acf folder for example. Regards!