Hey, I've searched and searched in WE as well as on the forums, and I can't seem to find any way to grab terrain height or a verticle angle.
Essentially I'm creating a gun map where you can fire at just about anyone, but you have low chances to hit if the target is in trees, above you, far away, etc.
All my cliff levels are the same because I wanted rolling hills and beaches.
The shot is calculated by a trigger, which gathers up different variables such as distance and amount of obstructions.
I have most of the math worked out, if I can just figure out how to tell if, and how far, a unit is above or below another!
Thanks in advance for any help! ^^
Essentially I'm creating a gun map where you can fire at just about anyone, but you have low chances to hit if the target is in trees, above you, far away, etc.
All my cliff levels are the same because I wanted rolling hills and beaches.
The shot is calculated by a trigger, which gathers up different variables such as distance and amount of obstructions.
I have most of the math worked out, if I can just figure out how to tell if, and how far, a unit is above or below another!
Thanks in advance for any help! ^^