• 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.

Camera Trigger

Status
Not open for further replies.
Level 3
Joined
Jun 6, 2008
Messages
36
For the past 30 mins I have been searching attempting to set up a trigger to create a different camera size. I would like to pull the camera back to give a greater field of view.
 
Level 7
Joined
Mar 16, 2008
Messages
348
Ill check wait a sec
Edit: I believe that's not it, i'll check in a map of mine wich i made a system for cameras, i haven't worked with cameras for some weeks lol
JASS:
call SetCameraFieldForPlayer( Player(0), CAMERA_FIELD_TARGET_DISTANCE, dist, time )
thats jassed, you can use it in GUI with a custom script line, player is the player you want(if you don't know jass Player(0) is equivalent to player 1 (red)) dist is the distance you want and time is the time you want
and both dist and time are real so you just have to do for example instead of replacing with 10 replace with 10.00( or 10.)

if you don't know jass :
  • Camera - Set Player 1 (Red)'s camera Distance to target to 300.00 over 0.40 seconds
 
Status
Not open for further replies.
Top