The perfect one step solution for creating Ice/Sliding Mazes in both Reign of Chaos and The Frozen Throne. It is the only decent system around and it even works in RoC, is lagfree, perfectly optimized, fast and reliable. The included TerrainKill feature frees you from the tedious task of creating a thousand kill-regions.

still it gives this errors:Line 35: Expected a name call SetUnitX(u,x+udg_Speed*Cos(0.017453278*GetUnitFacing(u)))Line 36: Expected a name call SetUnitY(u,y+udg_Speed*Sin(0.017453278*GetUnitFacing(u)))Line 45: Expected a name elseif(t==udg_TerrainKill)and(GetUnitState(u,UNIT_STATE_LIFE)>0)thenLine 49: Expected "endif" endif

Computers are not like humans. For example; I can guess when you write "coppied and past" that you actually mean "copied and pasted", but a computer would not. Hence, "expected a name".Variable names are also case sensitive.

Edit: "expected a name" means: A variable the erroneous code is trying to use was not defined (created) with that name.