[Trigger] how to get pathing?

Status
Not open for further replies.
Level 5
Joined
Sep 22, 2012
Messages
90
how to get the pink (unpathable pathing) in triggers? without using the boolean condition "if the terrain type of walkability in point equal to true". I would also like to know if it is possible to get the pathing of a newly constructed building.
 
Last edited:
Buildings normally do affect walkability but you have to differentiate between terrain pathing and other pathing.

Terrain pathing contains only such pathing which is done by terrain tiles, cliffs, walkable destructables and SetTerrainPathable jass function.

To detect all kinds of pathing, you usually try to create items (cheaper than units) at the spot and see if they end up with an offset. Or better yet, use only one item over and over.
 
Status
Not open for further replies.
Back
Top