#Lists in Web Builds

1 messages · Page 1 of 1 (latest)

little hornet
#

I made a little prototype which I would like to make a web build of. I rely quite heavily on creating some lists at runtime, but that doesn't work on the web.

What's the best practice here, to work around this? I can't create all list in the editor. Can I use arrays (from the addon.community package) instead?

wicked edge
#

What are you using to create the lists? like what nodes if any

wicked edge
little hornet
#

The usual add item and stuff on a list that I have in my variables. ChatGPT said arrays are save, because they are not dynamic in size. Which would be fine for me. I‘m gonna try it out tomorrow and see if it works.

little hornet
#

Come to think of it, AoT Dictionaries should be ok to use, right?

wicked edge
#

Yeah that should work

mental path
#

Wait.... do lists not work in web builds for UVS?

wicked edge
little hornet
#

AOT lists work, but they are not as convenient as the normal lists. I don’t think you can easily read from them? I couldn‘t find a node for that. I fixed it with a mix of AOT dictionaries and AOT lists.