• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!

[JASS] Controlling Cameras

Status
Not open for further replies.

Rui

Rui

Level 41
Joined
Jan 7, 2005
Messages
7,550
Hi.
Is it possible to totally control cameras through JASS? Instead of creating lots of camera setups (a.k.a. pre-set cameras), it would be better to use no camera setups at all, since these certainly take up space.

Can you name every function and what it does to the camera?

~Thanks in advance
 
JASS:
call SetCameraField(CAMERA_FIELD_ANGLE_OF_ATTACK,value,time)
call SetCameraField(CAMERA_FIELD_FARZ,value,time)
call SetCameraField(CAMERA_FIELD_FIELD_OF_VIEW,value,time)
call SetCameraField(CAMERA_FIELD_ROLL,value,time)
call SetCameraField(CAMERA_FIELD_ROTATION,value,time)
call SetCameraField(CAMERA_FIELD_TARGET_DISTANCE,value,time)
call SetCameraField(CAMERA_FIELD_ZOFFSET,value,time)
 
Status
Not open for further replies.
Top