So, I'm trying to put lots of rects in an array, using http://www.hiveworkshop.com/forums/1867354-post360.html
but can't get it to work.
when I remove the slash from
I can't compile.
I also tried
and other stuff. What am I doing wrong?
but can't get it to work.
JASS:
scope RectInit initializer Init
globals
private rect array Rects
public region PlayableArea
endglobals
private function Init takes nothing returns nothing
local integer i
set PlayableArea = CreateRegion()
///! runtextmacro SetRectData( "gg_rct_Reg0" , "Rects" )
loop
exitwhen i > RectData_RECTNUM
//...
set i = i + 1
endloop
endfunction
endscope
when I remove the slash from
JASS:
//! runtextmacro SetRectData( "gg_rct_Reg0" , "Rects" )
I also tried
JASS:
//! runtextmacro SetRectData( gg_rct_Reg0 , Rects )