Thanks for your help, but it didn't work. Im not too good at inserting jass into the triggers so maybe i did something wrong at that end. After putting it in i got four errors in the syntax check.
"Undeclared variable: REGSIZE"
"Undeclared variable: currently"
"Cannot convert rect to region"
"Undeclared variable: loopexr"
I put the first part under globals, and the second under endglobals. Not sure if it helps any, but 0,0 is the very middle of the map. And wc declares that everything has to be a multiple of 32 so even the region at zero is actually
Code:
set gg_rct_Region_040 = Rect( 0.0, -32.0, 32.0, 0.0 )
.
Also, apparently after i put the code into the jass file then opened it back up in World Edit, the code completely disappeared, as if i've never put it in. But im sure that after i put the code in, i saved the jass and inserted it back into the map. So i don't know what happened there.