Changing directory in Lua script

Your forum for all discussions around Modding.
HellBender
Posts: 1
Joined: Sun Mar 11, 2018 11:16 pm

Changing directory in Lua script

Post by HellBender »

Hi
I'm running a mod map and have implemented mods in to the map directory and mods that use only 1 LUA script. My problem is one mod that uses 2 LUA, but the call for the second LUA is in the first start LUA script in form of ("Script/autoLoadWood.lua", g_currentModDirectory))

How do I change ModDirectory to a script directory in map.zip

Greets
HellBender