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

[Solved] Can you detect water?

Status
Not open for further replies.
It is also possible in GUI:
  • Set Point1 = (Position of (Triggering unit))
  • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
    • If - Conditions
      • (Terrain pathing at Point1 of type Floatability is off) Equal to False
    • Then - Actions
      • -------- Actions here --------
    • Else - Actions
  • Custom script: call RemoveLocation (udg_Point1)
It's a boolean comparison, under "Environment" subsection.
 
Level 7
Joined
Sep 5, 2006
Messages
333
So is there a more reliable way to make sure this works? Or even better, is there a way to failproof this method against it bugging?

if you use normal world editor, it is failproof

what Dr Super Good means is that pathing and terrain are stored separately, therefor it is possible that the two doesn't match if you edit only one of them
 
Status
Not open for further replies.
Top