sea2sky Posted September 11, 2017 Share Posted September 11, 2017 Hi guys, how to incorporate a lua script into a .miz file? When I "attach" a script to a mission via DO_SCRIPT_FILE it is stored separately, but I would like a miz file to contain that script. Any known tricks to do so? Thanks! i5-9600K@4.8GHz ★ 32Gb DDR4 ★ Asus TUF rtx3080 OC ★ Quest Pro ★ Warthog on Virpil base Link to comment Share on other sites More sharing options...
NeilWillis Posted September 11, 2017 Share Posted September 11, 2017 Miz files are simply compressed folders. Re-name the file extension to .zip, de-compress it and you can add the lua, and then recompress it and rename it back to a miz file. Link to comment Share on other sites More sharing options...
Grimes Posted September 11, 2017 Share Posted September 11, 2017 When you use triggers to add sounds or do script file, and add images to the briefing they are automatically embedded into the miz file. If you open it up it will be in a l10n/default folder. So make a trigger Once>TimeMore > Do Script File is literally all you need to do. The right man in the wrong place makes all the difference in the world. Current Projects: Grayflag Server, Scripting Wiki Useful Links: Mission Scripting Tools MIST-(GitHub) MIST-(Thread) SLMOD, Wiki wishlist, Mission Editing Wiki!, Mission Building Forum Link to comment Share on other sites More sharing options...
sea2sky Posted September 11, 2017 Author Share Posted September 11, 2017 Perfect. Thanks! i5-9600K@4.8GHz ★ 32Gb DDR4 ★ Asus TUF rtx3080 OC ★ Quest Pro ★ Warthog on Virpil base Link to comment Share on other sites More sharing options...
Recommended Posts