Lists... |
Submitted by Gideon on Mon, 2007-11-26 19:11.
SE:V MODs
I'm trying to figure out how to make a two-dimentional array (aka list, longlist in this case).
I'll keep slugging away, but if anyone has a solution for use in the AI scripts, I would appreciate it.

Re: Lists...
Submitted by Draco18s on Tue, 2007-11-27 00:44.
You should see the scripts people did in Second Life to get around the lack of multi-dimentional arrays AND (simultaneously) the 16k script memory limit (that's 16kb of compiled script code AND variable allocation space).
It's rediculously complex and involves multiple scripts (need more space? Add in another copy of the storage script!)





Re: Lists...
I had tried to make that very thing when I tried some AI programming. The non-existence of multi-dimensional arrays is what made me stop. It's just too hard to do some things without them.
I suggest you ask MM if he could implement them. Maybe if enough of us ask, he'll add them in...
-----
A project a day keeps the deadline away.