- Joined
- Jun 15, 2008
- Messages
- 677
Hello !
I need to store ~600 regions (made with the region editor directly on the map) in a hashtable (let s say they are all called Region_1 to Region_600)
I wanna use a loop to easily store them all with custom script, but I'm not sure how write it.
Here it would be for the rect named Region_15.
how can I do something like that ?? :
Thanks !!!
EDIT : Oh and btw, is there a limit of Events in a trigger ? (thoses 600 rects will be added as UnitLeaves/Enters Region events)
I need to store ~600 regions (made with the region editor directly on the map) in a hashtable (let s say they are all called Region_1 to Region_600)
I wanna use a loop to easily store them all with custom script, but I'm not sure how write it.
Here it would be for the rect named Region_15.
vJASS:
call SaveRectHandleBJ( gg_rct_Region_15, udg_INTEGER, 1, udg_REGIONSCAMPAIGN )
how can I do something like that ?? :
vJASS:
call SaveRectHandleBJ( gg_rct_Region_(GetForLoopIndexA()), GetForLoopIndexA(), 1, udg_REGIONSCAMPAIGN )
Thanks !!!
EDIT : Oh and btw, is there a limit of Events in a trigger ? (thoses 600 rects will be added as UnitLeaves/Enters Region events)
Last edited: