• 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] Detecting Water

Status
Not open for further replies.
Level 14
Joined
Nov 18, 2007
Messages
1,084
Shallow water:
  • (Terrain pathing at TempLoc of type Floatability is off) Equal to True and (Terrain pathing at TempLoc of type Walkability is off) Equal to True and (Terrain pathing at TempLoc of type Buildability is off) Equal to False
Deep water:
  • (Terrain pathing at TempLoc of type Floatability is off) Equal to True and (Terrain pathing at TempLoc of type Walkability is off) Equal to False
Reference: TerrainPathability

Note: I'm not really sure if these are correct since I'm referring to the Jass code but the GUI version inverts the Jass.
 
Status
Not open for further replies.
Top