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

How to detect terrain Height

Status
Not open for further replies.
Level 10
Joined
Apr 9, 2004
Messages
502
Ok, so i've come across a little problem. I made a spell where my guy becomes a rolling ball and moves whereever you control it to move. The problem is i didn't want to make it suck by getting the ball stuck agaisnt the terrain so i made a move where it simply bocned off if the terrain was too high to climb. He could however, roll of cliffs without being stopped. The problem is i can get him to go down and i got it so he bounces of terrain that's too high to climb, but he now can't even go up ramps which sucks and i cannot really find a way to allow him to go over ramps, and yet bounce off clean-cut cliffs that you cannot normally climb as a ground unit.

Perhaps someone can help me with it, and plz do not direct me to the bouncing glave spell because i already know it won't work with this.


In brief asking for:
-trigger that makes you bounce of clear-cut higher terrain, but not from ramps.
-bouncing must redirect you in the direction you would have gone depending on your angle of hitting.
-Please no Jass, if there is another way
 
Level 10
Joined
Apr 9, 2004
Messages
502
well i suppose you never avctually played the map as i had, and although quite good, i find it doesn't work for me. The rolling spelling simply makes a shockwave with the pandaren as a missle, which is not what i want at all. Mine actaully makes a real panda unit which is controllable and bounces off stuff that is clear-cut cliffs, can roll over units, won't go out of the boundaries and bounce porperly. His just goes in a straight line anyways. Ineed one that really works.
 
Level 11
Joined
Jul 20, 2004
Messages
2,760
Oh sorry... Went pretty fast upon the panda stuff... Sorry. But why can't it go above cliffs? Btw, you can try a trick but I'm not sure about it. Try to give the unit a very small collision size (collision size only...). This will make the unit pass through almost everything but I don't think doodads as well if you make the terrain correctly. ;)
 
Status
Not open for further replies.
Top