Camera lock on unit

Zetrix91

TH.net Regular
Reaction score
2
i locked the camera to a target hero, but i want to know how i can get the camera to always see the "camera locked unit" from its back. ive seen it done in "Dark invasion" which is a members project here.. ofc they are a thousand times better than me, but is it hard to do?
 

Moridin

Snow Leopard
Reaction score
144
Quite simple.

Firstly, open the main editor (the main wc3 window that allows you to place stuff). You can rotate the way you look at the terrain by holding Ctrl and dragging the right mouse button. Once you've reached exactly what angle you want the players to see the units from, open the camera palette and click the "Create Camera" button.

You now have a camera object panned and rotated exactly as you want it.
Now in the trigger editor you can add this:

Trigger:
  • Camera - Apply Camera 002 <gen> for Player 1 (Red) over 0.00 seconds


Where "Camera 002 <gen>" is you can specify which camera object by clicking the "Select unit" button.
 

crazyfanatic

New Member
Reaction score
20
lower and rotate the camera when unit does
Btw seeing the unit only from the back sometimes makes visibility bugs, such as seeing only trees.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top