Discussion in 'Lua Discussions' started by Chris, Nov 11, 2019.
Just type in game /datafolder
The Lua Folder is a standard location based on your computer user name C:\Users\<computer user name>\AppData\Roaming\Portalarium\Shroud of the Avatar\Lua
thanks, I got it -- thx tristano
How current and complete is this document?
It seems to be uptodate. You can print all the data out of Lua, to see what globals and functions are available.
I am currently writing ground up UI code, similar API to winforms.
UI needs multiple different shades of colors, currently I have to create single color texture on separate software, save it and load it to Lua, via LoadTexture. This is fine for few different shades, but real UI needs to have quite a range of colors, to not look bland.
Possible solution: Expose Texture2D setPixels functionality to Lua. It could be just a new function, "ShroudCreateTextureFromRGB" It could take either 3 params or #hex value. Transparency would be great, but not super necessary.
Exposing TextField, TextArea and would be very nice. I can create custom Inputbox, but using existing would of course, be better.
That brings me to a bigger question, roadmap of Lua.
1: What are the big pictures of Lua integration ( Epic level tasks/ideas)?
2: What are the smaller pictures as of now?
3: and what made you patch in access to TextField today, so quickly
Separate names with a comma.