Neon Posted June 30, 2020 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]
Lineaxe Posted August 17, 2020 Posted August 17, 2020 hmm , I use the mission editor load DO SCRIPTFILE sequence and it hasn't failed ever failed me :)
Lineaxe Posted August 17, 2020 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.
Chump Posted August 17, 2020 Posted August 17, 2020 Wouldn't you need to alter MissionScripting.lua?--require = nil
Lineaxe Posted August 18, 2020 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 ...
Recommended Posts