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

Status
Not open for further replies.
Level 3
Joined
Jan 1, 2005
Messages
27
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
 
Level 8
Joined
Apr 3, 2004
Messages
507
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.
Top