locking camera

windale5

New Member
Reaction score
2
how do I lock all players camera to a unit or region until that player changes ownership of a hero. If that player does not change the camera is lock there. After thay change ownership they can move their screen like normally.
 

LurkerAspect

Now officially a Super Lurker
Reaction score
118
You're a little unclear, what do you mean by 'change ownership?' Does the player have to do something? Click on a Hero they want to change?

Well, if that's the case, use these actions:
Code:
Player Group - Pick every player in (All players) and do (Actions)
    Loop - Actions
        Camera - Lock camera target for (picked player) to (Triggering unit), offset by (0.00, 0.00) using Default rotation
and to unlock the camera,
Code:
Player Group - Pick every player in (All players) and do (Actions)
    Loop - Actions
        Camera - Reset camera for (picked player) to standard game-view over 0.00 seconds

Oh yea, for all players, do this:
 

windale5

New Member
Reaction score
2
problem

theres a problem because if say for example player 2 blue picks a hero everyone camera get unlocked and they can move
 
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