• Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • 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.
  • 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!

Camera Help

Status
Not open for further replies.
Level 8
Joined
Jul 23, 2005
Messages
329
How would you keep a camera locked onto a unit's rotation. I've tried Lock Camera Target For (Triggering Player) to (Last Created Unit), offset by (0.00, 0.00)using The unit's rotation but the camera doesn't lock onto the unit's rotation, just lcoks onto its position. How would I have the camera lock onto the units rotation as well sa it's position?
 
Level 3
Joined
Dec 7, 2005
Messages
53
Camera
Events
Time - Every 0.02 seconds of game time
Conditions
Actions
Camera - Pan camera for (Picked player) to ((Position of (Picked unit)) offset by 0.00 towards (Facing of (Picked unit)) degrees) over 0.00 seconds
Camera - Set (Picked player)'s camera Rotation to (Facing of (Picked unit)) over 0.50 seconds
 
Level 8
Joined
Jul 23, 2005
Messages
329
yeah thanks... I hope this doesn't cause too much lag, it already is a laggy game with all the movement calulations and complicated stuff...
 
Status
Not open for further replies.
Top