RoyMi6 Posted April 30, 2020 Posted April 30, 2020 Hey guys, Long time programmer, first time mission DCS mission builder! What's the minimum I should have to expect to restart to test a mission and it's scripts? I'm very much planning on building the mission in LUA scripts, so at the very least if I found a bug I'd imagine I'd have to restart the mission - but does anyone have any boilerplate mission.lua that includes some sensible debuging options? Maybe something like a command menu that reloads the mission and the script in game or something? Cheers, Roy
RoyMi6 Posted May 1, 2020 Author Posted May 1, 2020 (edited) Hopefully I'm doing something wrong but at the moment the only way I can see for making changes to a lua is to remove the action "do script file" then re-add it before the mission recognises the changes... EDIT: Found a fix: https://forums.eagle.ru/showthread.php?t=178227 Basiaclly just created a "mission-loader.lua" that runs "dofile([[c:\to\my\script.lua]])" - only thing I need to do is change my loaded files to on load triggers when I want to share with others. Edited May 1, 2020 by RoyMi6
Pikey Posted May 2, 2020 Posted May 2, 2020 This is your answer. 4000 views, i did it in 2017. ___________________________________________________________________________ SIMPLE SCENERY SAVING * SIMPLE GROUP SAVING * SIMPLE STATIC SAVING *
Recommended Posts