BlueMirage
Trust, but doubt.
- Reaction score
- 39
The following function won't compile and I don't know why.
I suspect parenthesis errors.
JASS:
function n takes nothing returns nothing
local unit u
local real x
local real y
local hashtable udg_Hashtable
local integer i
if RAbsBJ(x) > RAbsBJ(LoadReal(udg_Hashtable, i, StringHash("Slide0"))) and RAbsBJ(y) > RAbsBJ(LoadReal(udg_Hashtable, i, StringHash("Slide1")) or IsTerrainPathable(GetUnitX(u), GetUnitY(u), PATHING_TYPE_WALKABILITY) == false then
endfunction
I suspect parenthesis errors.