• Check out the results of the Techtree Contest #19!
  • 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.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

Camera Help

Status
Not open for further replies.
Level 3
Joined
Jan 1, 2005
Messages
26
hi im going for a map that you are a man and you must buy food and drink.


-i don´t know how to make camera lock nearer the unit

-i don´t know how to steer the unit with keyboard buttons

-plz help and i´ll give credits in the map
 
I'll give you some hints. The camera functions are all under "Camera". The ones that you want are locking the camera position and rotation to the unit's position and rotation.

The arrow key movement uses Player events, very intuitively named after the arrow keys themselves. You'll need to do a little math to calculate how far ahead or behind the unit you want it to move, and how far to the right or left you want it to turn.
 
Status
Not open for further replies.

Similar threads

Back
Top