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

How to make Third Person Camera.

Level 6
Joined
Aug 13, 2006
Messages
181
How to make a Third Person Camera to follow a unit.


The unit
Set out your unit on the map like this:
ss_1.JPG



Set out the camera.
Set out your camera near the unit in
the position that you like. I placed it like this:
ss_2.JPG



The triggers.
First edit the Map initialization trigger like this:
  • Map Initialization
    • Events
      • Map initialization
    • Conditions
    • Actions
      • -------- Third Person Camera Settings --------
      • Camera - Apply Third Person Camera <gen> for Player 1 (Red) over 0.00 seconds
      • Camera - Lock camera target for Player 1 (Red) to Paladin 0000 <gen>, offset by (0.00, 0.00) using Default rotation
  • Third Person Camera
    • Events
      • Time - Every 0.10 seconds of game time
    • Conditions
    • Actions
      • Camera - Set Player 1 (Red)'s camera Rotation to (Facing of Paladin 0000 <gen>) over 0.10 seconds

Test the map.
Now just test the map to see if it works.
This kind of camera style is very useful for RPG's,
WoW maps and such. Good testing and modding!

Regards
//KeBAbmeat
 
Last edited:
Level 2
Joined
Jun 23, 2007
Messages
6
to make it unlock-able do
Events
time - periodic event every 0.01 seconds of game time
Conditions
Actions
Camera set (Player 1)'s camera Rotation to (Facing of "unit" ) Over 0 seconds
 
Top