• 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: Please Help?

Status
Not open for further replies.
Level 5
Joined
Apr 11, 2011
Messages
107
i need this to set the camera about 200 in frount of the unit at all times. as in..

i want the unit to be at the bottem middle of the screen. if you were to split the screen into sections, the unit would be the "o"

x x x x x
x x x x x
x x x x x
x x o x x
x x x x x


here are my current camera triggers, what am i doing wrong?

  • Cam
    • Events
      • Time - Every 0.03 seconds of game time
    • Conditions
    • Actions
      • Camera - Lock camera target for Player 1 (Red) to Hero, offset by (200.00, 0.00) using The unit's rotation
      • Camera - Set Player 1 (Red)'s camera Rotation to (Facing of Hero) over 1.00 seconds
      • Camera - Set Player 1 (Red)'s camera Distance to target to 950.00 over 0.00 seconds
 
Level 23
Joined
Jan 1, 2009
Messages
1,615
If you lock the camera you only have to do that once, so make it elapsed game time and periodic.
Then you set the offset to 200 on x, but the X-Coordinate is the horizontal , so make it (0.0,400.0).
Use the default rotation if you don't want the camera to move like dumb.
Remove the other 2 things you have in the trigger.
 
Status
Not open for further replies.
Top