HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Blink not up cliffs

10-16-2004, 08:15 PM#1
GosuSheep
how can u make it so blink has a nice range of 512 but u cant blink up a cliff or down a cliff

replies are greatly appreciated
10-16-2004, 08:46 PM#2
Dead-Inside
By any normal means you can't. You can create a dummyspell which is still cast and takes mana from the unit but if you aren't moved (Up a cliff) you can just give the mana back.

However...

I have no idea how you should check if it's up or down a cliff. That's pretty much impossible.
10-16-2004, 08:57 PM#3
iNfraNe
I think there is an action to check for cliff height
10-16-2004, 09:17 PM#4
th15
Yea, you can check cliff height of teh casting position and the target position and cancel the spell if the target is up on a cliff. It'll be MUCH more difficult to prevent it from blinking up a cliff and back down the other side.
10-17-2004, 10:58 AM#5
iNfraNe
Quote:
Originally Posted by th15
Yea, you can check cliff height of teh casting position and the target position and cancel the spell if the target is up on a cliff. It'll be MUCH more difficult to prevent it from blinking up a cliff and back down the other side.
just check a number of points between the caster point and the target point with a distance of 128 between them.
10-17-2004, 02:53 PM#6
th15
Hmm, you're right, it wouldn't be quite as painful as I thought it would.
10-17-2004, 03:01 PM#7
Anitarf
In addition, you could still make the spell work, but only to the last point that isn't on a different cliff-level. So, if a player tries to blink onto a cliff, the spell is cancelled by another order that orders the unit to blink to the last point before the clifflevel-change. That way, the spell isn't cancelled alltogether, it just blinks as far as it can.
10-17-2004, 03:22 PM#8
-={tWiStÄr}=-
nah.. that'd be a waste, what if theyre right next to the cliff trying to go up it? thats just a waste of mana.