I didn't hit it myself yet, but I've heard DarkRevenant hit it already.
The script limit is 2mb. The script size is the uncompressed size of the "MapScript.galaxy" file.
You can open your map file with an mpq editor like WinMPQ and check the uncompressed file size.
If you are close to the limit, you could write a program, that renames everything with shorter names and deletes characters that only exist for human readability like line breaks. That can give you a little bit more space, if you add new code with that style yourself.
But in the end we hope that Blizzard will raise that limit because every trigger intensive project might hit it sooner or later.
I didn't hit it myself yet, but I've heard DarkRevenant hit it already. The script limit is 2mb. The script size is the uncompressed size of the "MapScript.galaxy" file.
You can open your map file with an mpq editor like WinMPQ and check the uncompressed file size.
If you are close to the limit, you could write a program, that renames everything with shorter names and deletes characters that only exist for human readability like line breaks. That can give you a little bit more space, if you add new code with that style yourself.
But in the end we hope that Blizzard will raise that limit because every trigger intensive project might hit it sooner or later.
@thepumaman1: Go
As far as I know global variables add to that limit, too. Local variables have been separated from that with a patch I think.