- Joined
- Jun 7, 2008
- Messages
- 440
I was wondering if there was a way to make a certain terrain unable to move on for regular units, while heros can move across it no problem? I have many spots that have this same type of terrain. I tried doing this in GUI, but failed. This is what I did:
-
Movement Restriction
-

Events
-


Unit - A unit Is issued an order targeting a point
-
-

Conditions
-


((Triggering unit) is A Hero) Equal to False
-
-

Actions
-


Set TempPoint = (Target point of issued order)
-


If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-



If - Conditions
-




(Terrain type at TempPoint) Equal to Dalaran - Black Marble
-
-



Then - Actions
-




Unit - Order (Triggering unit) to Stop
-




Custom script: call RemoveLocation(udg_TempPoint)
-
-



Else - Actions
-




Custom script: call RemoveLocation(udg_TempPoint)
-
-
-
-










