Hi,
i managed to make a 3rd camera view wich goes up and down when the unit is going up or down with it,
i am using this jass script to disable the auto z movement, and just place it at the height i wish, as you can see:
i managed to make a 3rd camera view wich goes up and down when the unit is going up or down with it,
i am using this jass script to disable the auto z movement, and just place it at the height i wish, as you can see:
JASS:
function SetCameraZ takes real z returns nothing
set z = GetCameraField(CAMERA_FIELD_ZOFFSET)+z-GetCameraTargetPositionZ()
call SetCameraField(CAMERA_FIELD_ZOFFSET,z,- 0.01)
call SetCameraField(CAMERA_FIELD_ZOFFSET,z,0.01)
endfunction
-
Custom script: call SetCameraZ (udg_CameraHeight)