Cameras

N582114

New Member
Reaction score
2
I'm trying to constantly set the player's AoA to 304 as long as they're picking a hero.

It doesn't work though.

Trigger:
  • Events
    • Time - Every 0.10 seconds of game time
    • Conditions
    • Actions
      • For each (Integer A) from 1 to 8, do (Actions)
        • Loop - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • heroSelection[(Integer A)] Equal to True
            • Then - Actions
              • Camera - Set (Player((Integer A)))'s camera Angle of attack to 304.00 over 0.00 seconds
            • Else - Actions
              • Do nothing


heroSelection is set at map initialization via:

Trigger:
  • init
    • Events
      • Map initialization
    • Conditions
    • Actions
      • For each (Integer A) from 1 to 8, do (Actions)
        • Loop - Actions
          • Set heroSelection[(Integer A)] = True
 

HeX.16

Isn't Trollin You Right Now
Reaction score
131
I would just remove that if like this.

Trigger:
  • Events
    • Time - Every 0.10 seconds of game time
    • Conditions
    • Actions
      • For each (Integer A) from 1 to 8, do (Actions)
        • Loop - Actions
          • Camera - Set (Player((Integer A)))'s camera Angle of attack to 304.00 over 0.00 seconds

Also skip that init trigger. I cant see why it was there...
 

N582114

New Member
Reaction score
2
I would just remove that if like this.

Trigger:
  • Events
    • Time - Every 0.10 seconds of game time
    • Conditions
    • Actions
      • For each (Integer A) from 1 to 8, do (Actions)
        • Loop - Actions
          • Camera - Set (Player((Integer A)))'s camera Angle of attack to 304.00 over 0.00 seconds

Also skip that init trigger. I cant see why it was there...
I want the camera to not set the AoA to 304 if the player has already picked their hero, as the camera angle will be set back to normal when the player has chosen their hero. If the 'I-T-E' is not there, then the player who already have chosen their heros will have their camera angle changed.
 

HeX.16

Isn't Trollin You Right Now
Reaction score
131
But you set it to true on the map init. You wouldnt even notice the difference.
 

N582114

New Member
Reaction score
2
It will, when I finish my hero selection. When a hero chooses a hero, it'll set heroSelection[playernumber] to false.
 
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