![]() |
Arrays
What are arrays? What are they used for? How do you use them?
|
predominatnly for storing valuses. ie
this.walls = {0,1,1,0,0,1,1,0} |
what are each of the numbers for
|
In Graal, they're like strings and junk, but with numbers... hard to explain. You could use like:
settarray ammo,3; then you could call on them with ammo[0], ammo[1], and ammo[2] (I dunno if it also uses ammo[3] or not for a size of three... I think it might). Check the scripter's bible, and it's explained there better than I explained it. |
ok thanks
|
| All times are GMT +2. The time now is 10:36 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.