I'm currently working on a map that uses grid-based system as well. For the grid, I basically used a struct with 4 "pointers", pointing north east south and west. It isn't too complicated as long as you have some experience with programming.
The actual tough part is the path generation...
Do note that using the "Unit is attacked" event is buggy. It occurs when the unit begins the attack animation, not when an attack is successfully performed. So if you were to spam the Stop command when you're about to attack, it will successfully add to your agility. If you want to properly...
Are you asking how to change the hero's model coloring? You can use the native function:
native SetUnitVertexColor takes unit whichUnit, integer red, integer green, integer blue, integer alpha returns nothing
So let's say you wanted your hero to appear completely red, you'd do:
call...
There seems to be a problem with the compiler identifying the functions IsTerrainWalkable and IsTerrainDeepWater. I suggest checking if these functions actually exists and if it's reachable.
Based on your code, the orb effect remains forever. Do remember to remove the orb effects when casting the spell, as you wouldn't want multiple orb effects. Unless, you didn't post the full code :p
I'm pretty sure storing Handle variables will not make it MUI. Since the Hashtable stores the Handles by reference, making changes to that certain global variable will affect your "stored" value. For example, let's say you have a Point variable called "TempPoint". First, you set TempPoint =...