Passero Posted September 18, 2020 Share Posted September 18, 2020 I am writing a lot of Lua for my missions and these are loaded using the do script file. I do notice that if I'm developing and making changes to the file, these aren't picked up by the editor... When I fly the mission it uses an older version of my script so I always have to remove the do script file action and add it again in order for the changes to propagate in the mission. Is there an easier way? Is this normal? Link to comment Share on other sites More sharing options...
wraith70 Posted September 18, 2020 Share Posted September 18, 2020 You are looking for this I believe...dynamic script loading: Link to comment Share on other sites More sharing options...
Passero Posted September 18, 2020 Author Share Posted September 18, 2020 Ah great. Does seem to work fine. I assume this is only for debugging and while developing as by doing this, the script won't be bundled with the mission? So when I'm finished with the mission, I should replace it with do script file, right? Link to comment Share on other sites More sharing options...
Delta99 Posted September 18, 2020 Share Posted September 18, 2020 Ah great. Does seem to work fine. I assume this is only for debugging and while developing as by doing this, the script won't be bundled with the mission? So when I'm finished with the mission, I should replace it with do script file, right? Correct My Missions: Valley Patrol Mission :: Valley Escort Mission :: A2A Engagements Link to comment Share on other sites More sharing options...
Recommended Posts