• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

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