So thinking to make one level of ground (1) to be just for the Ships units. Is it possible to make units only move on deep ground (0) only? Without passing on level ground (1) without painting areas or placing some blockers to make that happen?
Yes, you can track a unit's height in triggers, and basically block a unit from higher/lower heights. Wish Blizzard would introduce naval pathing though.
Yeah... probably. A method would be to use an array variable of a point. If Then Else - If (Unit blah blah height = Sea level) Then = move unit to Position [unit's number in the array] Else = Set current position as Position [unit's number in the array].
Another thread about it!.
So thinking to make one level of ground (1) to be just for the Ships units. Is it possible to make units only move on deep ground (0) only? Without passing on level ground (1) without painting areas or placing some blockers to make that happen?
Yes, you can track a unit's height in triggers, and basically block a unit from higher/lower heights. Wish Blizzard would introduce naval pathing though.
@FenixKissKerrigan: Go
So how that would work? Sending unit to previous location before entering the higher Cliff level?
Yeah... probably. A method would be to use an array variable of a point. If Then Else - If (Unit blah blah height = Sea level) Then = move unit to Position [unit's number in the array] Else = Set current position as Position [unit's number in the array].
I would add to the question this: can we configure a mover to make some cliff levels unpathable?
Becuase blocking movement with triggers will work stupid. It would require a custom pathing system.
I don't think so. There's too much you can't do with data. Until Blizzard includes Naval pathing then we are stuck with clumsy, laggy triggering.
Personally i would just make them flying units and place no flyer pathing to the edges. Might take more time but is probably easier.i
@Zolden: Go There is no mover or pathing option for water units currently. All systems people came up need workarounds.
Good idea, only problem is you'd need a flag to distinguish them from air units; e.g. so missile-turrets/anti-air don't attack them.