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

[Trigger] Camera

Status
Not open for further replies.
Level 18
Joined
May 27, 2007
Messages
1,689
i am making a map and i want the camera to be positioned behind the unit and follow the unit wherever it goes, i have played around with it quite a bit but cant seem to get it to work this is what i have

  • Camera
    • Events
      • Time - Every 0.01 seconds of game time
    • Conditions
    • Actions
      • Unit Group - Pick every unit in (Units in (Playable map area)) and do (Actions)
        • Loop - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
            • Then - Actions
              • Camera - Lock camera target for (Owner of (Picked unit)) to (Picked unit), offset by (0.00, 0.00) using The unit's rotation
              • Camera - Rotate camera (Facing of (Picked unit)) degrees around (Position of (Picked unit)) for (Owner of (Picked unit)) over 0.00 seconds
            • Else - Actions
              • Do nothing
BTW i wasnt sure where to post this so i put it here
 
Status
Not open for further replies.
Back
Top