Korolen
New User (Why do I keep getting those red bars?)
- Reaction score
- 69
First off, yes, I know of this function:
For some reason, this doesn't seem to return the correct results when there is a doodad or something blocking the point...
Also, although this is not required, I would prefer some method that detects the pathing of a point as if there was a footman or something there (i.e. pathing in a 32 unit sized circle). If anyone's curious, I'm trying to make it so when you right-click a spot with a unit, it doesn't find the best way there but instead just walks there and crashes into the wall...
Code:
native IsTerrainPathable takes real x, real y, pathingtype t returns boolean
Also, although this is not required, I would prefer some method that detects the pathing of a point as if there was a footman or something there (i.e. pathing in a 32 unit sized circle). If anyone's curious, I'm trying to make it so when you right-click a spot with a unit, it doesn't find the best way there but instead just walks there and crashes into the wall...