Lists... |
Soumis par Gideon le Lun, 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.
» Vous devez vous identifier ou créer un compte pour écrire des commentaires

Re: Lists...
Soumis par Captain Kwok le Lun, 2007-11-26 23:09
» Vous devez vous identifier ou créer un compte pour écrire des commentaires
Re: Lists...
Soumis par pkoko le Lun, 2007-11-26 23:35
can't you use structs??
» Vous devez vous identifier ou créer un compte pour écrire des commentaires

Re: Lists...
Soumis par Draco18s le Mar, 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!)
» Vous devez vous identifier ou créer un compte pour écrire des commentaires




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.