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

Moving the camera angles

Status
Not open for further replies.
Level 3
Joined
Feb 12, 2005
Messages
22
Is it possible to make a camera that follows the eyes of a unit, so that the camera is always looking at the degree angle that the unit that the camera is locked onto's angle? If you could help that would be greatly apprectiated.
 
Level 10
Joined
Jul 14, 2004
Messages
463
1. Lock camera target to unit

2. Build following trigger:
Events
-Periodic Event - every 0.1 sconds of game-time

Actions
-Set Camera field - Set camera's angle to facing angle of [unit the camera target is locked to] over 0.4 seconds


Of course you can change the times...
 
Status
Not open for further replies.
Top