^The original poster has found a solution, setting the thread to solved signals to others that there's no need for help here. People don't have to open the thread to see that the issue has been solved.
Using search and seeing a thread that is marked solved but with no replies is a small issue. But I can live with that.
I was trying to set my camera to the same height as my slopes which is explained in this thread:
http://www.hiveworkshop.com/forums/world-editor-help-zone-98/unlimited-slope-heights-problem-208775/
(the thread title is a bit missleading)
For some reason I was unabled to change the Z-height but I was abled to change the distance to target, that's why I started this topic. However it appeared to have nohing to do with that. I fixed my issue and that's why I wanted this thread to be solved since it's of no longer use to me. I still have a different issue though: The camera still works a bit staggering since GUI can only have a periodic event of 0.30 seconds. I want it to instantly change it's Z-height by putting it in a infinite loop which I can't seem to get working :S
Eather ways thanks for the explenation. If there is anyone who really wants to know how much distance to target equals Z offset then hopefully someone will come by to give us a number. If not: sorry for those who have searched for this thread but did not find a solution to what they are looking for.
A little suggestion to those who didn't: Try showing a text message in Jass that shows the distance to target and the Z offset of your current camera, you might be abled to find out this way
Hint: GetCameraTargetPositionZ() <- height offset of your current camera.
I don't know about distance to taget, you would have to figure that one out by yourself.
Remember: distance to target is how far you zoom in and out, height offset is how high your camera is above the ground.
I'm not even sure if this is true since I didn't test it yet: but try to zoom out and see if the Z offset changes, if it does you can use that to find out how much distance to target equals Z offset. (Maybe zooming out means that the camera also moves up in height).