NCrawler Posted February 1, 2015 Share Posted February 1, 2015 I've created a new ISAutomaticWeapon.lua file in my mods 'shared\Reloading' folder. When I try to use: require "Reloading/ISAutomaticWeapon" in my ISReloadUtil.lua file, it will not load the file. If I move the ISAutomaticWeapon.lua to the games main 'media\lua\shared\reloading' folder then it loads perfectly fine. I guess my question is, is there a problem with 'require' loading custom .lua files? Link to comment Share on other sites More sharing options...
RoboMat Posted February 1, 2015 Share Posted February 1, 2015 http://theindiestone.com/forums/index.php/tracker/issue-796-lua-require-broken/ Link to comment Share on other sites More sharing options...
NCrawler Posted February 1, 2015 Author Share Posted February 1, 2015 http://theindiestone.com/forums/index.php/tracker/issue-796-lua-require-broken/ Thank you, guess that answers my question. Guess I should use the search function next time... Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now