Hey, I am making a projectile system. How do I make it so that the projectile gets destroyed when it hits a boundary? OR how do I make it so that it reflects when it hits the boundary? (the system is in vJass just so you know =] )
You can use the [ljass]GetTerrainHeight(x2, y2) <= GetTerrainHeight(x,y)[/ljass] (that may not be the proper function, but it's something like that) comparison to detect whether the height at (x2, y2) is greater than the height at your projectile's current position. If it is, destroy the projectile. It's very crude, but it may work.
Ghan has said he has fixed this. Monovertex please confirm this fix. This was only a problem with people that had signatures in the upper levels like not the special members but the respected members.