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

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.
 
Level 2
Joined
Jun 19, 2011
Messages
12
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.
 
Level 9
Joined
Mar 31, 2011
Messages
496
... :wink: i think you'll not understand it, your new here, i see...

but, back to the topic,

@anyone?
 
Level 9
Joined
Mar 31, 2011
Messages
496
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.
 
Level 13
Joined
Oct 25, 2009
Messages
995
  • 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.
Top