• 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.

[JASS] IsTerrainPathable not working

Status
Not open for further replies.
Hello there! Here I am once again to ask another stupid question xD

I have the IF statement:
JASS:
if IsTerrainPathable(X, Y, PATHING_TYPE_WALKABILITY) then
    call DestroyTimer(GetExpiredTimer())
    return
endif
Simple, eh?
Does the function IsTerrainPathable also return true when there's a TREE at those coordinates?
Because the "then" executes when X/Y is a wall, but not when it's a tree...

Thanks for your time!
Hossomi-sama
 
Level 3
Joined
May 4, 2007
Messages
66
Or u can create some unit on that point, so if point isn't pathable unit will be created near and then compare unit coords with point coords, and if coords aren't the same, point isn't pathable.
 
Status
Not open for further replies.
Top