HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Variable/Array limit?

06-09-2004, 07:38 PM#1
Zergling199
I'm just wondering if there is a limit to the number of variables / arrays that you can use in one map?
The map I'm working on needs 4 integer arrays of 8064, plus a bunch of other smaller arrays, but if I put more than one array that big into the map, none of the events will run, including Map Initialization.

Am I overlooking something, or is the variable limit really that low? You can't even put 2 arrays of max size(8192) into a map?

If I can't get this to work, I'll probably start using the gamecache.. Does that have a limit as well?
06-09-2004, 08:10 PM#2
weaaddar
Don't bother actually specifying the field of array size.
Its quirky and is known to kill threads if you want to specify size then do something like
Event-Map Init
Action
For Loop Integer A from 0 to ArrayLength
set MyArray[IntegerA] = init value
06-09-2004, 08:35 PM#3
Zergling199
lol, I didn't even think to try that.. Sometimes I think I'm too neat in my programming. Oh well, thanks!