Only trigger. No other way(like UMSWE)
How can I do this?
I used this. but it doesn't work.
Please help me.
How can I do this?
JASS:
function Trig_Geo_Initialization_Actions takes nothing returns nothing
local real x_start
local real y_start
local real x
local real y
local real x_end
local real y_end
local rect aodt = GetPlayableMapRect()
set y_end = GetRectMaxY(aodt)
set x_end = GetRectMaxX(aodt)
set y_start = GetRectMinY(aodt)
set x_start = GetRectMinX(aodt)
set x = x_start
set y = y_start
loop
exitwhen x > x_end
loop
exitwhen y > y_end
if ( IsTerrainPathable(x, y, PATHING_TYPE_WALKABILITY) == true ) then
call SetTerrainPathable(x, y, PATHING_TYPE_BUILDABILITY, true )
endif
set y = y + 32
endloop
set x = x + 32
set y = y_start
endloop
set aodt = null
endfunction
I used this. but it doesn't work.
Please help me.