Kariyann71 Posted May 27, 2024 Posted May 27, 2024 Hello everybody, I'am trying to extract datas with mist.lua, but I want my export script to be not associated to a miz file, indeed I declare my export script in the /savedgames/scripts/export.lua. Unfortunately, I cannot load mist.lua in my custom script, each time I try my export doesn't work. So, is mist.lua callable from my script or is it only possible to use it with DO procedure in the DCS mission editor ? Thank you Corei7 2600K 4.4Ghz OC - NVIDIA GTX 1080 Ti 11Gb - 16 Gb DDR3 HP Reverb PRO HMD - Thrusmaster TWCS + TopGun Stick
Solution Grimes Posted May 28, 2024 Solution Posted May 28, 2024 Mist runs in the mission scripting env, not the export env. There are individual functions or functionality that you could probably cut and paste, or at least lightly modify, to work in the export env. But natively it would not run because it relies heavily upon functions from the mission env. 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
Kariyann71 Posted May 29, 2024 Author Posted May 29, 2024 Thank you Grimes, your reply is crystal clear. Corei7 2600K 4.4Ghz OC - NVIDIA GTX 1080 Ti 11Gb - 16 Gb DDR3 HP Reverb PRO HMD - Thrusmaster TWCS + TopGun Stick
Recommended Posts