Mission scripting made easy with Moose (Mission Object Oriented Scripting Environment for DCS World).
Lesson 3- This time we will get debugging squared away. This will save you time, reduce your frustration and keep you scripting. By using some simple scripts, some clever triggers, the DCS Log file and Notepad++ Language definitions, we will keep the time taken to find those bugs to a minimum .
How to assert load your script from outside the mission file.
How to use the DCS log to find your bug.
How to create an in mission trigger to load an external script via the communications F10 other menu. This allows script testing while the mission is running.
Assert Load Script:
-- assert(loadfile("C:/Your/File/Location.lua"))()
Moose Website - flightcontrol-...
Samples - github.com/Fli...
Moose Discord - / discord
Негізгі бет Moose for DCS World - L3 Debugging Your Script
Пікірлер: 15