• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

[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