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

Make A Terrain Impassable?

Status
Not open for further replies.
Level 5
Joined
Dec 15, 2010
Messages
115
Is there any way to make a terrain type impassible by all units except air? For example say the "Rock" terrain so that land units can't walk on it, but you can still fly over it.
 
Level 9
Joined
Apr 23, 2011
Messages
460
  • Rock Air Only
    • Events
      • <Your Event>
    • Conditions
      • <Your Conditions>
    • Actions
      • Environment - Set terrain pathing at (YourRegion) of type Any to Off
      • Environment - Set terrain pathing at (YourRegion) of type Floatability to On
      • Custom script: call RemoveLocation(udg_YourRegion)
This should work if im correct. I don't deal with pathing that much sorry :p

EDIT: ap0calypse is probably right :p I don't really deal with pathing.
 
Level 5
Joined
Dec 15, 2010
Messages
115
Yeah I am aware of the doodad method, I was just hoping there was a way so I didn't have to use 23612616236 of them, anyway thanks for the input.
 
Status
Not open for further replies.
Top