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

Looking for a condition to check for Deep water in a point

Status
Not open for further replies.
Level 15
Joined
Aug 31, 2009
Messages
776
You can just use a combination of 2 trigger conditions.

Say the point you want to check is called "TempPoint" then these conditions will work for deep water:
  • And - All Conditions are True
    • (Terrain pathing at TempPoint of type Amphibious Pathing is off) Equal to False
    • (Terrain pathing at TempPoint of type Walkability Pathing is off) Equal to True
(These are Boolean Comparisons)

This means the point is pathable to amphibious units but not pathable to ground units. Only thing that fills those two conditions is (you guessed it!) deep water.
 
Level 4
Joined
Apr 22, 2008
Messages
34
You can just use a combination of 2 trigger conditions.

Say the point you want to check is called "TempPoint" then these conditions will work for deep water:
  • And - All Conditions are True
    • (Terrain pathing at TempPoint of type Amphibious Pathing is off) Equal to False
    • (Terrain pathing at TempPoint of type Walkability Pathing is off) Equal to True
(These are Boolean Comparisons)

This means the point is pathable to amphibious units but not pathable to ground units. Only thing that fills those two conditions is (you guessed it!) deep water.

thx it worked out just as i needed it to :D. +rep.
 
Status
Not open for further replies.
Top