I was exploring my options with Lua scripting by creating an interface for the game. So naturally, I turned towards using the Interface API. However, that didn't work.
It showed the error: attempt to index global "Window" (a nil value)
From what I can understand, it is trying to access the Window object but fails because the object doesn't exist.
How can I fix this?
So, what are the alternatives to the API? I want to make a STKM with powers that you select with a dropdown list.
You can use my Interface API (https://starcatcher.us/scripts?view=172)
Demo with dropdown list: https://pastebin.com/ZUP6qLNA
Is there any documentation for the script? I am having trouble understanding how it works.