Original Post
Hi,
I have a small problem:
I have Lua embedded in C++. I load and execute my initialization script just fine. At the end of it is dofile command that should execute another script containing loading of my game assets. However, no matter how I change the path of the file, it will not execute.
Should the path be relative to my executable or to the script that is calling the dofile?
I have a small problem:
I have Lua embedded in C++. I load and execute my initialization script just fine. At the end of it is dofile command that should execute another script containing loading of my game assets. However, no matter how I change the path of the file, it will not execute.
Should the path be relative to my executable or to the script that is calling the dofile?