• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[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:
Level 26
Joined
Aug 18, 2009
Messages
4,097
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.
Top