| 03-15-2010, 04:00 PM | #1 |
How do you detect water? I have an order to cast a certain spell when you order an unit to move on water, but I don't know how to detect it. - Dragoon |
| 03-15-2010, 04:20 PM | #2 |
constant pathingtype PATHING_TYPE_AMPHIBIOUSPATHING = ConvertPathingType(7)
native IsTerrainPathable takes real x, real y, pathingtype t returns boolean |
| 03-15-2010, 09:11 PM | #3 |
You may also want to check out Dusk's "TerrainPathability" script: http://www.wc3c.net/showthread.php?t=103862 |
