Jump to content

Recommended Posts

Posted

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

Posted (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 by RoyMi6
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...