HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

unblinkable terrain

08-10-2007, 02:46 AM#1
botanic
How can i make a piece of terrain not able to be the target of blink i do need to still be able to walk on it tho.
08-10-2007, 04:06 AM#2
Earth-Fury
rects. (vanilla WE calls them regions for some inane reason)

check if point of ability being cast is within an "unblinkalbe" rect. if it is, order the casting unit to "stop".
08-10-2007, 04:17 AM#3
Vexorian
http://www.wc3campaigns.net/showthread.php?t=96003

In my arena I had 3 major regions (not rects) it was pretty complicated to decide when blink was a legal move...
08-10-2007, 05:56 AM#4
botanic
what about simply making all units in an area flying then use pathing blockers so they act like ground and add a bunch of ground blockers so it is not a "valid" target for a ground unit to target. And create a region at the entrance to the area that gives flying?

only thing is how can i make flying units look like there a ground unit?
08-10-2007, 04:08 PM#5
fps-doug
for that you can change their flying height to -64, it works well for me but if they approach cliffs they will begin to levitate.
08-10-2007, 06:29 PM#6
cohadar
Or if it fits your map, you can make that part of map have
black mask for enemy players (like in pudge wars)
so the enemies cannot blink but just walk in it.
08-10-2007, 07:07 PM#7
Histenchist
Trigger:
Anti Blink
Collapse Events
Unit - A unit Is issued an order targeting a point
Collapse Conditions
(Issued order) Equal to (Order(blink))
Collapse Actions
Collapse If (All Conditions are True) then do (Then Actions) else do (Else Actions)
Collapse If - Conditions
(Terrain type at (Target point of issued order)) Equal to Lordaeron Summer - Dirt
Collapse Then - Actions
Unit - Order (Triggering unit) to Stop
Collapse Else - Actions
Do nothing
Why not?
08-10-2007, 07:27 PM#8
cohadar
Quote:
Originally Posted by Histenchist
Why not?

Because it does not display a message saying "you cannot blink there"
08-10-2007, 07:34 PM#9
Histenchist
duh,
hard do add a message -.-
08-10-2007, 07:50 PM#10
cohadar
aaaa but it must look exactly like the game default one, be on the same position, have same color and play the same sound.
08-10-2007, 08:11 PM#11
botanic
im going to go with my pathing blocker ideea i think jsut i need to know how i can make a unit with movement type flying look like a ground unit...

Also what is the best way to add flying?
08-10-2007, 08:25 PM#12
cohadar
Are you telling me you are going to change all your heroes to fliers + add a bouch of pathing blockers on your map just so you could implement a restriction on a blink spell ???
08-10-2007, 08:49 PM#13
Vexorian
Quote:
Originally Posted by Histenchist
Trigger:
Anti Blink
Collapse Events
Unit - A unit Is issued an order targeting a point
Collapse Conditions
(Issued order) Equal to (Order(blink))
Collapse Actions
Collapse If (All Conditions are True) then do (Then Actions) else do (Else Actions)
Collapse If - Conditions
(Terrain type at (Target point of issued order)) Equal to Lordaeron Summer - Dirt
Collapse Then - Actions
Unit - Order (Triggering unit) to Stop
Collapse Else - Actions
Do nothing
Why not?
Try it, and see it not working.
08-10-2007, 09:02 PM#14
botanic
no there is just one entrance to that area and when a unit enters that area im going to make it a flyer and when it leaves that area im going to make it lsoe flying...

Least thats the plan so long as i can figure out how to make a flyer look like a ground unit...
08-10-2007, 09:12 PM#15
Histenchist
Quote:
Originally Posted by Vexorian
Try it, and see it not working.
Well for me it works just fine.
BlinkTest.w3x
Attached Files
File type: w3xBlinkTest.w3x (12.1 KB)