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

Simple Camera Question!?

Status
Not open for further replies.
Level 9
Joined
Mar 31, 2011
Messages
496
  • Start Cam
    • Events
      • Unit - A unit enters HeroSpawn <gen>
    • Conditions
      • ((Triggering unit) is A Hero) Equal to True
    • Actions
      • Camera - Lock camera target for (Owner of (Triggering unit)) to (Triggering unit), offset by (0.00, 0.00) using Default rotation
Does it have leaks?

---------------------
---------------------

Another, how can apply this?

---------------------
---------------------

When the user clicks a hero or a unit, it will lock it to the selected unit, and then if it clicks again it will lock again and if it presses the hero icon, it will lock it then again...

---------------------
---------------------

Then disable the camera system when the triggering unit dies.
 
What exactly are you trying to achieve? That trigger should function properly, as long as you're trying to make the camera follow a hero that enters the HeroSpawn region.
 
... :wink: i think you'll not understand it, your new here, i see...

but, back to the topic,

@anyone?
 
could you make the part of selects a unit? post it here?
by the way, this will be multiplayer not just player 1 :smile:
i can make the part of reset camera.
 
  • Camera
    • Events
      • Player - Player 1 (Red) Selects a unit
      • Player - Player 2 (Blue) Selects a unit
      • Player - Player 3 (Teal) Selects a unit
      • Player - Player 4 (Purple) Selects a unit
      • Player - Player 5 (Yellow) Selects a unit
      • Player - Player 6 (Orange) Selects a unit
    • Conditions
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • ((Triggering unit) belongs to an ally of (Triggering player)) Equal to True
        • Then - Actions
          • Camera - Lock camera target for (Triggering player) to (Triggering unit), offset by (0.00, 0.00) using Default rotation
        • Else - Actions
Try this,it work for me.
 
Status
Not open for further replies.
Back
Top