Neon Posted June 30, 2020 Share Posted June 30, 2020 So its been months since I have made a mission and now I cant get assert(loadfile(“C:\\Lua Scipting\\Moose.lua”))() to work at all. Any ideas? [sIGPIC][/sIGPIC] Link to comment Share on other sites More sharing options...
Lineaxe Posted August 17, 2020 Share Posted August 17, 2020 hmm , I use the mission editor load DO SCRIPTFILE sequence and it hasn't failed ever failed me :) Link to comment Share on other sites More sharing options...
Lineaxe Posted August 17, 2020 Share Posted August 17, 2020 I use assert loadfile ect to load my own lua script in from workspace subfolders. And it does still work flawlessly. Link to comment Share on other sites More sharing options...
Chump Posted August 17, 2020 Share Posted August 17, 2020 Wouldn't you need to alter MissionScripting.lua?--require = nil Link to comment Share on other sites More sharing options...
Lineaxe Posted August 18, 2020 Share Posted August 18, 2020 I hadn't needed to do so. The Youtube Tutorials I had watched covered a few things , but nothing on altering MissionScripting.lua for that reason. Just to comment out the sanitize code lines so that I could connect up a debugger with LD tools from eclipse . Which didn't work , actually ... Link to comment Share on other sites More sharing options...
Recommended Posts