SC2Mapster Forums

Development > Triggers

Max size of arrays

  • 4 posts
    #1 Jan 24, 2013 at 01:11 UTC - 0 likes

    does anyone know what the maximum size of an array is? right now i have a 4 dimensional array of 384, 10,10,10 and that seems to be bottom it out.

    #2 Jan 24, 2013 at 01:41 UTC - 0 likes

    Variables eat up memory. The trigger debugger displays your used percentages in the bottom right edge.

    Your array has 512.435 fields. Do you really need that many?

    You could think about using the data table, too. But it has a terrible performance compared to arrays.

    http://img42.imageshack.us/img42/7586/signaturemj.jpg

    #3 Jan 24, 2013 at 02:31 UTC - 0 likes

    meh i just want to test the limits of the game. pushing things to the breaking points is how you learn it's limits.

    #4 Jan 24, 2013 at 03:55 UTC - 0 likes

    Max size for a 4 dimensional array is 205, 15 ,10, 10

  • 4 posts

You must login to post a comment. Don't have an account? Register to get one!