- Joined
- Aug 1, 2007
- Messages
- 535
Is it possible to do something like this in jass?
Because setting 85 regions manually doesn't really thrill me...
JASS:
function Trig_Set_Regions_Actions takes nothing returns nothing
set bj_forLoopAIndex = 0
set bj_forLoopAIndexEnd = 85
loop
exitwhen bj_forLoopAIndex > bj_forLoopAIndexEnd
set udg_FFregions[GetForLoopIndexA()] = gg_rct_FF_00_Copy_(GetForLoopIndexA())
set bj_forLoopAIndex = bj_forLoopAIndex + 1
endloop
endfunction