HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

camera system

09-18-2002, 01:23 PM#1
mikititan
Is there a way to make the camera Z never go bellow the terrain?

I want to make the Z value (height) ever be 256 units (for ex.) above terrain.

I tried to use camera - pan camera with interpolated height, but it seems don't work, or it seems not to be what i want :)

who knows?
09-18-2002, 03:59 PM#2
h0pesfall
ive been trying to play with camera Z alot and never found a way to... Except making a camera that has the Z value you want, then applying that camera before locking it etc..., but i don't think that's what you want.
09-18-2002, 09:59 PM#3
mikititan
A camera has some values that can be changed through triggers (like, orientation, roll, Angle of attack...), but the value that i want to change is the Z value, and it appears in the camera prop window but not in the editor through triggers...
09-18-2002, 10:02 PM#4
h0pesfall
yes i know.... ive been trying to find a workaround but there is none. I'm not sure even JASS can do it... but you should ask weaaddar about that
10-23-2002, 06:57 PM#5
Guest
Haven't tested this, but try:
call SetCameraFieldForPlayer(whichPlayer, CAMERA_FIELD_ZOFFSET, z_value, 0)
or
call CameraSetupSetField(theCam, CAMERA_FIELD_ZOFFSET, z_value, 0)
10-24-2002, 12:45 AM#6
Guest
Edit: nm