• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[JASS] Camera height

Status
Not open for further replies.
Level 4
Joined
Mar 23, 2009
Messages
78
I'd like to fix camera's z position not binding the cam to a certain point or a unit, but cant guess what function should be used. help me, hivemind.
 
Level 4
Joined
Mar 23, 2009
Messages
78
+rep for everyone, thank you.

/edited
just checked thing the guys told about, unfortunately, nothing was suitable, but i found a solution.
if you want to fix camera on a certain height, turning off mousewheel camera control, make a periodic (0.1s for example) trigger and use custom script (or just paste):
JASS:
call SetCameraField(CAMERA_FIELD_ANGLE_OF_ATTACK,bj_CAMERA_DEFAULT_AOA,0.)
call SetCameraField(CAMERA_FIELD_TARGET_DISTANCE,bj_CAMERA_DEFAULT_DISTANCE,0.)
 
Last edited:
Status
Not open for further replies.
Top