is there a way to get the local path from inside a lua script, i.e. the equivalent to sending (path) to [thispatcher].
the reason i want to do this inside lua is because i have a few textures inside a /tex folder and i want to be able to do something like this at initialization
tex.file = localpath .. "tex/" .. "mytexture.jpg"
if i wait for max to send the path from this patcher to the script, i have to delay starting the lua script until i receive the path message from max and things just go crazy.
maybe something like luaAV's findfile?
speaking of which, is it possible to use luaAV modules inside jit.gl.lua and vice versa?