When I was creating my first Lua, I had a lot of trouble just creating the GUI window. After quite a bit of trial and error, I was able to cut it down to the minimum to run the window. Here is that skeleton for you to put your own window elements and functions in to. For those just starting out, there are some simple variables for a pair of checkboxes, some text, and even a button. I have commented the code, so hopefully you can remove what you don't need while understanding how to add/use your own.
Just remember to change any instances in the code of
Feel free to use for your own projects, though I would appreciate a shoutout.
Just remember to change any instances in the code of
changeMe
to the name of your program, as well as renaming the folder. Please let me know if this helps you or if anyone is interested in an ImGUI tutorial for MQ2.Feel free to use for your own projects, though I would appreciate a shoutout.